In summary, this code is use for making online doctor appointments with React.js and Mongoose Db. The credentials are organized to shipped into a Mongoose database for sufficient evaluation of the facts of patiences' schedules therein contained.
NewUsers.mp4
- Admin Login & Password: login: admin password: admin.
AdminLogin.mp4
- Components and Functions:
Components are used as static or reusable pieces of code which are ubiquitous in this repo. The primary functions in this code is used to map values/modifify data or structured the set of data.
axios.post()
AppointmentForm component is a function that contains axios.post() which takes the values (email, name, gender, age, description, time, day
) to intialize a copy of the array into a mongoose database. The promises ensures axios call corresspond with newtwork, the characteristics of the following code will alter end user if there not able to book appointment.