- Fork & Clone the Repository
- Check whether you have Node installed on your system
node -v
- Steps for setting up the API key for openweathermap
- To generate an API key for openweathermap, you have to register on openweathermap: https://home.openweathermap.org/api_keys
- Rename example.env to .env and put your API key in REACT_APP_APIKEY variable
- To generate an API key for lastfm, you have to register on last.fm: https://www.last.fm/api
- Add another variable with the name REACT_APP_MUSIC_APIKEY and assign it the API key you generated
- Install the dependencies with
npm install
- Run the project with
npm start
└───src
├───App.js
├───index.js
├───assets
│ └───images
└───mlh-prep.png
├───components
│ ├───MainNavbar
│ ├───SecNavbar
├───containers
│ ├───Footer
│ ├───Header
│ ├───Hotels
│ ├───Main
│ ├───RandomQuote
│ └───WeatherAPI
As per the figma design, this is the layout of the React app which we will be working on.
-
index.js
is the entry point of the app that handles the all the rendering methods. -
App.js
contains all the components and containers of the app -
components
andcontainers
contain the code for different sections of the app -
We are using Tailwind CSS to handle all the stylings and React-Icons for the icons as of now.
-
Create a branch with the issue you're assigned to and remember to pull before push