This project simulates a weather app using the OpenWeatherAPI and React.
- @mui/material
- @emotion/react
- @emotion/styled
- @mui/material
- axios
- react-router-dom
As the project is made in React, the project needs to be run on the computer as a front-end server so a mobile device can access it.
- Clone the repository or download it as zip
- Open the root directory of project
- Create a new file named '.env'. This is where you store the API key.
- In the .env file write and save the API key like this:
REACT_APP_API_KEY=randomlettershere
- Open a terminal at project root folder, execute
npm start
- On your mobile device, open a web browser and enter server's local ip address & port (ex.
10.0.0.127:3000
)