Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 2.19 KB

File metadata and controls

43 lines (31 loc) · 2.19 KB

Application Scheduling System

This project is aimed at creating the basic design of the backend of Instagram. This Readme.md file will guide you through the project setup, the models used, and the API endpoints available.

Prerequisites

Installation

To run this application locally, you will need to have Java and MySQL installed on your machine.

  • Clone the repository to your local machine.
  • Create a new MySQL database called Mapping
  • Update the application.properties file in the src/main/resources directory to include your MySQL username and password
  • Run the application using your IDE or by running the command mvn spring-boot:run in the project directory
  • Access the APIs using any HTTP client such as Postman or cURL.

Data flow

The application is built using the SpringBoot framework and consists of four layers: DTO, model, service, and repository.-

  • DTO -The DTO layer consists of classes that are used to transfer data between different layers of the application
  • Controller - The controller layer handles the HTTP requests, translates the JSON parameter to object, and authenticates the request and transfer it to the business (service) layer. In short, it consists of views i.e., frontend part.
  • Service -The business layer handles all the business logic. It consists of service classes and uses services provided by data access layers.
  • Repository - This layer mainatains the h2-database thing on which CRUD operations are performed
  • Model - This layer consists basically the class level things- the various classes required for the project and these classes consists the attributes to be stored.

API Documentation

The API endpoints will be available at http://localhost:8080.

Models

Doctor Patient Appointment

Project Summary

This project includes the basic design of the backend of DoctorApp, including user and Doctor models, and API endpoints for user authentication and post creation/retrieval.