Token is for slot bookings and get tokens anywhere and anytime. It can be used by any businesses or intuitions, whoever wants to implement a booking system, whether they are small or well established, there customers can easily do bookings without visiting the place.
Token contains feature for businesses or intuitions to register themselves. People can watch available time slots and book them.
-
setup firebase console and add firebase service key to
src/api/firebase-service.js
.
Follow these steps to setup firebase console and download the key -
setup firebase service account and add firebase admin key to
src/service-account-file.json
.
Follow these steps to setup firebase service account and download the key -
install dependecies by running the following command in client and server folders.
npm install
- run server by running the following command in server folder.
npm run dev
- run client by running the following command in client folder.
npm run start
- client will run on port 3000 and sever will run on port 5000.
- slots
- create slot (post) -
/api/v1/slots
- read slots (post) -
/api/v1/get-slots
- update slot (put) -
/api/v1/put-slot
- delete slot (delete) -
/api/v1/delete-slot
- create slot (post) -
- users
- create user (post) -
/api/v1/users
- update user role (put) -
/api/v1/users
- read user role (post) -
/api/v1/get-role
- create user (post) -
- businesses
- read businesses (get) -
/get-businesses
- read businesses by id (post) -
/get-businesses-by-id
- read businesses (get) -
- login -
/
- signup -
/signup
- dashboard -
/dashboard
- bookslots -
/u/[user_id]
- search -
/search