shahpreetk / beproject-backend

Backend of BE Project - Online Auditorium and Turf Booking System.

Home Page:https://onlinebooking-backend.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

beproject-backend

πŸ›  Built with

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.

πŸ‘©β€πŸ’» Author

This project was built with ❀️ by Preet Shah.

πŸ”¨ Installation and Setting it Up

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 config folder make a new file named dev.env

  • In the dev.env file add the following -

    • PORT=3010
    • SENDGRID_API_KEY=YOUR_SENDGRID_KEY
    • MONGODB_URL=YOUR_LOCAL_DB_URL
    • JWT_SECRET=A_KEY_YOU_WOULD_LIKE_TO_KEEP
    • STRIPE_API_SECRET=YOUR_SECRET_STRIPE_KEY

    PS: To learn how to run MongoDB locally, you can refer to the following videos -

    1. for Mac

    2. for Windows

  • Run npm install and npm install -D

  • Run npm run dev

πŸ–₯ Where can I find it?

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!!

πŸ™ˆ A kind request

This was my first complete MERN stack project and if you like it please do give it a star ⭐️.

Thank you!! 😁

πŸ“ License

This project is licensed under GNU General Public License v3.0 GNU GPLv3

About

Backend of BE Project - Online Auditorium and Turf Booking System.

https://onlinebooking-backend.herokuapp.com

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%