- git clone https://github.com/ReactJsRepo/MovieTicketReactWeb
- Goto —> cd MovieTicketReactWeb
- Install Node module —> npm install
- Goto —> cd src/JSON
- Host db.json file in jsonserver
- Run command --> json-server --watch db.json --port 6700
- This should result in below resources http://localhost:6700/latestmovies http://localhost:6700/events http://localhost:6700/upcomingMovies
Note: If you are changing the port number in the json server command, then please update the port numbers in the below files as well src/Sagas/index.js src/Components/SearchResults.js
- npm start
- visit ‘http://localhost:3000'