This is a simple hospital reservation system built using the Gin framework and PostgreSQL. It allows users to register, login, and make appointments with doctors. It also allows admin users to manage patients, doctors, and departements. The system is built in Go language, and uses CRUD operations for database management. It also has a simple API documentation to make it easy for developers to use the system.
- JWT Auth. Login and logout.
- User admin registration
- CRUD Patients
- CRUD Doctors
- CRUD Departement
- CRUD Appointment
POST /api/v1/register
: Allows user to register as adminPOST /api/v1/login
: Allows user to login as admin
POST /api/v1/logout
: Allows user to logout as adminGET /api/v1/admins
: Retrieve all admin data
GET /api/v1/patients
: Retrieve all patient dataGET /api/v1/patients/:id
: Retrieve patient data by IDPOST /api/v1/patients
: Insert patient dataPUT /api/v1/patients/:id
: Update patient data by IDDELETE /api/v1/patients/:id
: Delete patient data by ID
GET /api/v1/doctors
: Retrieve all doctor dataGET /api/v1/doctors/:id
: Retrieve doctor data by IDPOST /api/v1/doctors
: Insert doctor dataPUT /api/v1/doctors/:id
: Update doctor data by IDDELETE /api/v1/doctors/:id
: Delete doctor data by ID
GET /api/v1/departements
: Retrieve all department dataGET /api/v1/departements/:id
: Retrieve department data by IDPOST /api/v1/departements
: Insert department dataPUT /api/v1/departements/:id
: Update department data by IDDELETE /api/v1/departements/:id
: Delete department data by ID
GET /api/v1/appointments
: Retrieve all appointment dataGET /api/v1/appointments/:id
: Retrieve appointment data by IDPOST /api/v1/appointments
: Insert appointment dataPUT /api/v1/appointments/:id
: Update appointment data by IDDELETE /api/v1/appointments/:id
: Delete appointment data by ID
https://docs.google.com/presentation/d/1Id3tfO_fND_jRXOV4QCXPRpqODhUWeI-9gYt3I15v04/edit?usp=sharing
: Google Slide Presentationhttps://fp-sanbercode-golang-batch-41-v2-production.up.railway.app/
: Railway Deployment Link