Skip to content

COVID-19 VACCINATION APP | It's a online Application where you can get appointment for vaccination at a perticular center and doctor can give vaccinatin after authentication. Java, Spring Boot, MySQL, used to generate different end points.

roy-aman/Covid19-Vaccination

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

REST API for an Covid-19 Vaccination

  • We have developed this REST API for an Covid-19 Vaccination. This API performs all the fundamental CRUD operations of any Online Cab Booking platform with user validation at every step.
  • This project is developed by team of 5 Back-end Developers during project week in Masai School.

Tech Stack

  • Java
  • Spring Framework
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • MySQL

Modules

  • Login, Logout Module
  • Doctor Module
  • User Module
  • Admin Module
  • Dose Generation Module

Features

  • User, Doctor and Admin authentication & validation with session uuid having.
  • Admin Features:
    • Administrator Role of the entire application
    • Only registered admins with valid session token can add/update/delete driver or user from main database
    • Admin can access the details of different Users, Doctors, Center and Dose.
  • User Features:
    • Registering themselves with application, and logging in to it.
    • Viewing list of available Center and booking a Appointment.
    • Only logged in user can access profile updation and other features.

Contributors

Installation & Run

  • Before running the API server, you should update the database config inside the application.properties file.
  • Update the port number, username and password as per your local database config.
    server.port=8089
    spring.datasource.url=jdbc:mysql://localhost:3306/CovidVaccination;
    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    spring.datasource.username=root
    spring.datasource.password=root

API Root Endpoint

http://covid19vaccinationapi-env-1.eba-becpxd2x.ap-south-1.elasticbeanstalk.com/

http://covid19vaccinationapi-env-1.eba-becpxd2x.ap-south-1.elasticbeanstalk.com/v2/api-docs

http://covid19vaccinationapi-env-1.eba-becpxd2x.ap-south-1.elasticbeanstalk.com/swagger-ui.html

Sample API Response for user Login

POST: http://covid19vaccinationapi-env-1.eba-becpxd2x.ap-south-1.elasticbeanstalk.com/swagger-ui.html#/user-controller/userLoginUsingPOST_1

  • Request Body
    {
        "Mobile": "85022457580",
        "password": "pass@12"
    }
  • Response
   Login Successful.

About

COVID-19 VACCINATION APP | It's a online Application where you can get appointment for vaccination at a perticular center and doctor can give vaccinatin after authentication. Java, Spring Boot, MySQL, used to generate different end points.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%