Book My Show
This is a full stack project on Book My Show.
Code for front-end is given in client folder. Code for back-end server is given in server folder.
This Project is live: server : "https://book-my-show.onrender.com" client : "https://bookmyshow-1acd3.web.app"
To run this project in local machine.
- Clone the repository, and run
npm install
for both client and server seperately, OR runnpm run download
in server directory. This will download all the dev dependencies required. - Now run
npm run dev
in sever directory. This will start the server as well as client. Server will run at "http://localhost:8080". Client will run at "http://localhost:3000".
------------------------------------ Only For Client -------------------------------------------------------
How to use this WebApp.
- Start Backend Server.
- Run
npm install
to download dev dependencies. - Now run
npm start
in terminal. - Select Movie name.
- Select Time slot.
- Select No. of tickets of required rows.
- Now click book now. Your Movie will be booked.
- To know the last booking done see last booking section. If no movies are booked It will show no booking found. If Booked it will show last booking details.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
--------------------------------------- Only For Server -------------------------------------------------
How to use this Node Server
- Clone the code from github and run
npm install
. - To create database please install mongodb in local machine
- Now run index.js this will Start the Server or do
npm start
. - Read the API documentation to know more about the api.
API Documentation :- https://documenter.getpostman.com/view/23147277/2s8YmNRNoA