This web application will facilitate the citizen with an option to register and schedule the vaccination session online in Centers of their choice. The Citizen self-registration module will ensure fool-proof identification of deserving candidates for receiving the vaccines.
- Data Authentication and Validation for all the users (Admin and Member)
- REST API documentation using swagger puglins
- Admin can access all the information of vaccination centers and Member Information.
- Admin can access perform all CRUD operation related to vaccination center and members as well.
- Member can login in the application and update their information using their username, password and Adharcard.
- Member can search for the vaccination center nearby and bookthe appoinment for the same.
- Member can able to register five family members on one mobile number and track theere vaccination details.
- Member can get all the appointments details mapped with mobile number.
- Before running the API server, you should update the database config inside the application.properties file.
- Update the port number, MySQL database username and password as per your local database configuration.
server.port=8080
spring.datasource.url=jdbc:mysql://localhost:3306/cowindb;
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
https://localhost:8080/
http://localhost:8080/swagger-ui/index.html
Request | METHOD | URI | Description |
---|---|---|---|
PUT |
Update |
http://localhost:8080/user/update |
Update existing user |
POST |
register |
http://localhost:8080/user/register |
Register new user |
POST |
Login |
http://localhost:8080/user/login |
User Login |
POST |
Book Appointment |
http://localhost:8080/user/bookappointment |
Book Appoinment |
POST |
Appointment Detail |
http://localhost:8080/user/appointmentdetails |
Appointment Detail |
POST |
Get Member |
http://localhost:8080/user/getmeber/mobile |
Get Member By Mobile Number |
GET |
Center List |
http://localhost:8080/user/allcenters |
Center List |
DELETE |
Delete |
http://localhost:8080/user/delete |
Delete existing user |
DELETE |
Cancel Appointment |
http://localhost:8080/user/cancelappointment |
Cancel Appoinment |
Request | METHOD | URI | Description |
---|---|---|---|
PUT |
Update Center |
http://localhost:8080/admin/updatecenter |
Update Center Details |
DELETE |
Delete Center |
http://localhost:8080/admin/removecenter |
Remove Center Details |
GET |
Center List |
http://localhost:8080/admin/allcenters |
Get All center Details |
POST |
Create Center |
http://localhost:8080/admin/savecenter |
Save new center details |
POST |
Center By Id |
http://localhost:8080/admin/getcenterbyid |
Get Center details by center ID |
POST
http://localhost:8080/user/register
{
"mobileno": "9953805224",
"passWord":"ram@123",
"adharcard": {
"adharNo": "224319664199",
"name": "Ramesh",
"dob": "08/15/1995",
"gender": "Male",
"addressline": "Ayodhya",
"city": "Ayodhya",
"state": "UP",
"pincode": "432939"
}
}
{
"memberId": 5,
"mobileno": "9953805224",
"passWord": "ram@123",
"adharcard": {
"adharNo": "224319664199",
"name": "Ramesh",
"dob": "08/15/1995",
"gender": "Male",
"addressline": "Ayodhya",
"city": "Ayodhya",
"state": "UP",
"pincode": "432939"
}
}
- Java
- Hibernate
- Spring Framework
- Spring Boot
- Spring Data JPA
- MySQL
- Swagger UI
- Maven