/MERN-Booking-Website

Primary LanguageJavaScriptMIT LicenseMIT

Venue Booking site

Local Setup

  1. clone it
git clone https://github.com/akshay782/venue_booking_site.git
# go to project directory
cd venue_booking_site
  1. Install packages
  • Backend => In root directory run following command
  • Frontend => In client-side folder run same following command
npm install
  1. Create .env file in the root directory and add following variables
dburl = 'your mongodb cluster url'
PORT = 'the port in which you want to run your nodejs/backend'
jwt_secret = 'your jwt secret'
  1. Run it 🚴‍♂️
  • Backend => First run following command in root directory, it will start server on port 2000
  • Frontend => Second run same command in client side folder on another terminal, it will lauch react app
npm start

To commit and push changes

Before you start working
Always -

git pull

After you done making some changes

git checkout -b <branch_name>
git add .
git commit -m "message"
git push
  • Note
    Please don't commit on main branch