Appointiments
An api for making appointments at the book customers.
- Management slots of time
- Set which days of the week professional are going to available and interval of time for each day
- Each slot has a duration of 1 hour and contains two availability periods of 1 hour
- Customer books a session blocking slots in order to not have conflicts with other customers trying to book session at the same time
Instructions
- Run
yarn install
change config for your Postgres SQL DB and MongoDB in ./ormconfig.json
change config for your Redis NoSQL DB in ./.env
- Run
yarn dev
- Import
./insomnia_book_customers.json
in your Insomnia to call API’s
Optional
- Run
yarn test
- Configure your keys in
./.env
for AWS to send email and storage user avatar
Work infos
- You need register users to receive bookings
- You need register users to make bookings sending id of professional booking
- You need send bookings from customer user after has logged
Other infos
- Node version 14.17.4 (LTS)
- NPM version 6.14.14
Todo