The API system is made using Express, a lightweight Nodejs library. The data is saved on a NoSQL MongoDB database. To welcome the user after signup, we send an email using the Sendgrid service. For the security and privacy of the user, we use bcrypt to hash the user’s password in the database, and session authentication is done via JSON web tokens.
This project was built with ❤️ by Preet Shah.
If you are interested in setting up the project on your local machine you can simply follow these steps -
-
Clone the repository
-
To the root of the folder, make a new folder named
config -
In the
configfolder make a new file nameddev.env -
In the
dev.envfile add the following -PORT=3010SENDGRID_API_KEY=YOUR_SENDGRID_KEYMONGODB_URL=YOUR_LOCAL_DB_URLJWT_SECRET=A_KEY_YOU_WOULD_LIKE_TO_KEEPSTRIPE_API_SECRET=YOUR_SECRET_STRIPE_KEY
PS: To learn how to run MongoDB locally, you can refer to the following videos -
-
Run
npm installandnpm install -D -
Run
npm run dev
You can find the backend of BookIt here!!
And the frontend of BookIt can be found here!!
The code to the frontend of the project can be found at this repository!!
This was my first complete MERN stack project and if you like it please do give it a star ⭐️.
Thank you!! 😁
This project is licensed under GNU General Public License v3.0 GNU GPLv3