- Install dependencies
$ cd doctors_r_us
$ npm install
-
Start server on http://localhost:3000/
- Development
$ npm run dev
- Production
$ npm run start
Resource | Description | Method | EndPoint |
---|---|---|---|
doctors | Get all doctors | Get | /api/doctors |
doctors | Post a doctors | Post | /api/doctors |
doctors | Delete a doctors | Delete | /api/doctors |
appointments | Get all appointments for a particular doctor and particular day | Get | /api/appointments |
appointments | Post an appointment | Post | /api/appointments |
appointments | Delete an appointment | Delete | /api/appointments |
- NodeJs/ExpressJs
- Implemented server and RESTFul API with NodeJs and ExpressJs.
- SQLite3
- Implemented database with SQLite3 to conveniently store data without a server.
- Dev Tools
- Utilized Nodemon for auto reloading.
- Utilized Postman for API testing.