A simple appointments api
yarn install
yarn dev
yarn test
You can access the documentation by using the /docs
endpoint.
http://localhost:3333/docs
- Allow to cancel an appointment
- Allow to schedule an appointment
- Rename create appointment use case to schedule appointment
- Create email value object with email validation
- Throw overlapping dates error only when trying to schedule an appointment with the same dentist
- Add husky and lint-staged to check if everything is fine before commiting
- List patient's appointments
- Allow to list appointments from a specific dentist
- Create payload data validation
- Create http routes
👤 Douglas Pinheiro Goulart
- Website: https://www.douglasgoulart.com/
- Github: @doougui
- LinkedIn: @douglaspigoulart
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!