How chherika/finalproject-petpulse works
PetPulse is a pet-care platform composed of separate HTTP services for account registration and login, pet profiles, appointments, prescriptions, and billing. The visible service routes support a user workflow from account creation through managing pets and care records to invoice payment. Each sampled service connects to MongoDB; the source excerpts do not establish how the frontend or API gateway routes requests, nor do they show cross-service calls, so those relationships are omitted.
Main entry points: Registration/index.js Registration · Login/index.js Login · Pet_Profile/index.js Pet profiles · Appointment/index.js Appointments
Components 16
Access
- Web frontend
Frontend/index.html - API gateway
API-Gateway/api-gateway.js - Registration
Registration/index.js - Login
Login/index.js
Pet care
- Pet profiles
Pet_Profile/index.js - Appointments
Appointment/index.js - Prescriptions
Prescription/index.js
Billing
- Invoices and payment
Billing/index.js
Persistence
- Registration DB connector
Registration/db-connect.js - Login DB connector
Login/db-connect.js - Pet DB connector
Pet_Profile/db-connect.js - Appointment DB connector
Appointment/db-connect.js - Prescription DB connector
Prescription/db-connect.js - Billing DB connector
Billing/db-connect.js - MongoDB
Other components
- Platform user
Connections 18
- Platform user → Registration: registers
Registration/index.js - Platform user → Login: authenticates
- Platform user → Pet profiles: manages pets
Pet_Profile/index.js - Platform user → Appointments: books visits
Appointment/index.js - Platform user → Prescriptions: views care
Prescription/index.js - Platform user → Invoices and payment: pays invoices
Billing/index.js - Registration → Registration DB connector: connects
Registration/index.js - Login → Login DB connector: connects
Login/index.js - Pet profiles → Pet DB connector: connects
Pet_Profile/index.js - Appointments → Appointment DB connector: connects
Appointment/index.js - Prescriptions → Prescription DB connector: connects
Prescription/index.js - Invoices and payment → Billing DB connector: connects
Billing/index.js - Registration DB connector → MongoDB: connects
Registration/db-connect.js - Login DB connector → MongoDB: connects
Login/db-connect.js - Pet DB connector → MongoDB: connects
Pet_Profile/db-connect.js - Appointment DB connector → MongoDB: connects
Appointment/db-connect.js - Prescription DB connector → MongoDB: connects
Prescription/db-connect.js - Billing DB connector → MongoDB: connects
Billing/db-connect.js