This is a Spring Boot API for a vaccine distribution system. The system aims to create vaccination appointment efficiently and provides email notifications.
Before you begin, ensure you have met the following requirements:
- Java 17 or later
- Maven
- Database (e.g., MySQL, PostgreSQL) for data storage
-
Clone the repository:
git clone https://github.com/VishnuThangaraj/VaccineDistributionSystem/
The API exposes the following endpoints:
POST doctor/register: Create a new Doctor to the Database. POST patient/signup: Create a new Patient to Database. POST patient/login: Login with Existing Patient. GET patient/create-appointment: Create a new appointment. POST vaccination-center/register: Create a new Vaccination Center to the Database.
The API uses token-based authentication. Obtain an access token and include it in the Authorization header for protected endpoints.
The application can be configured using the application.properties file. Update the file to set database configurations, server port, etc.
To contribute to the development of this API, follow these steps:
Fork the repository. Create a new branch for your feature/bug fix: git checkout -b feature-name. Make changes and commit: git commit -m "Your message". Push to the branch: git push origin feature-name. Submit a pull request.
Run the tests using:
mvn test
Contributions are welcome! Please follow the Development section for the contribution process.