The weather application has two sub systems.
- Client side - written using React.js
deployed here: https://imdb-react-app.herokuapp.com/ - Server side - written using Node.js & Express
deployed here: https://imdb-server-node.herokuapp.com/
- Get featured movies : https://imdb-server-node.herokuapp.com/getFeatured
- Get search result : https://imdb-server-node.herokuapp.com/getsearch/?movie={THE NAME OF THE MOVIE}
- Node.js v14.17.5
- Windows 10
- Clone this repository locally
- In each folder (front and server) run:
npm install
Each subsystem needs to run individually
- open cmd in front folder and run
npm start
- open another cmd in server folder and run
node app.js
The current React.js app is requesting data from the deployed server. To make the app send requests to the local server (folder server):
- Access front/src/movies-context.js
- In line 5 replace the link with (
http://localhost:3001/getFeatured
)