- clone it
git clone https://github.com/akshay782/venue_booking_site.git
# go to project directory
cd venue_booking_site
- Install packages
- Backend => In root directory run following command
- Frontend => In client-side folder run same following command
npm install
- 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'
- 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
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