The Healthcare System API is designed to streamline interactions between patients and doctors. It provides secure role-based access, enabling doctors to manage their profiles and appointments while allowing patients to explore available healthcare services.
Features
- Role-Based JWT Authentication: Ensures secure access for patients and doctors.
- Doctor Management: Doctors can:
- Create and manage their profiles.
- List specialization and appointment services.
- Manage appointments for patients.
- Patient Platform: Patients can:
- Filter and view all registered doctors.
- Access detailed information about doctors, including their specializations and available services.
- Database: PostgreSQL for structured and efficient data management.
- Event Streaming: Kafka integration for handling asynchronous event-driven workflows.
- Testing:
- Unit testing with Mockito and JUnit.
- Integration testing using Testcontainers.
Technical Stack
- Backend: Java, Spring Boot (REST API, Spring Security, Spring Data JPA).
- Database: PostgreSQL.
- Messaging: Apache Kafka.
- Testing: JUnit, Mockito, Testcontainers.
- Build Tool: Maven.
Key Takeaways
- Gained in-depth experience with Spring Boot and Kafka.
- Enhanced skills in secure authentication and database management.
- Strengthened testing techniques with Testcontainers, JUnit, and Mockito.
Endpoints
All endpoints are available via Swagger under localhost:8080/swagger-ui/index.html
