We'll build this back-end and front-end app in a group.
We did in the lesson earlier. Give it a name that suggests it's a Doctor app.
- Create a REST controller.
- Create a
/homeendpoint that returns a'Welcome to the Doctor App'string. - Use Postman to test the API.
Your app will have two data models: Doctor and Appointment. You'll use MongoDB as your database to talk to your database.
In this step, you'll only create a Doctor model.
- The
Doctorshould have at least three fields:name,specialtyandpicture. - Create APIs to update and delete.
In the next step, you'll add the Appointment model and map it with Doctor.
- The
Appointmenttable should have at least two columns:date,patientName, andreasonForAppointment. - The
DoctorandAppointmenttables should be mapped to each other. - A user can add and delete a Appointment.
- A user should be able to view all of the Appointments added
In this step, create a front-end app using react. Make sure you create several components that connected to the Doctor and Appointment models.
Again, the mapping between the Doctor and Appointment models is one-to-many mapping.
1- Add authentication
2- Use uploading files to uplaod an image from your Computer for Doctor Picture.
3- Deploy your Application using Heroku.
We will be working with differnt team lead.
Your app will have three data models: Doctor, Appointment, and Patient. You'll use MongoDB as your database to talk to your database.
In this step, you'll only create a Patient model.
- The
Patientshould have at least three fields:name,phoneNumberandemail. - Create APIs to read, create, update, and delete.
In this step, create a front-end app using react. Make sure you create several components that connected to the Doctor ,Appointment, and Patient models.
Deploy your Application using Heroku.
- For emails, you can integrate with https://www.mailgun.com. They have a free tier that you can utilize.
Again, the mapping between the Doctor and Appointment models is one-to-many mapping, and the mapping between the Patient and Appointment models is one-to-many mapping