-
cd into
fs-weather-app/serverand use:npm install
-
**There are two .env files required. ** Place the provided
.envfile that contains the Open Weather API key intofs-weather-app/serverPlace the provided.envfile that contains the Google Autocomplete API key intofs-weather-app/client -
cd into
fs-weather-app/clientand use:npm install
-
cd into
fs-weather-app/serverand use:npm run fs-database
-
stay in
fs-weather-app/serverand use:npm run dev
-
cd into
fs-weather-app/clientand use:npm start
- You can use any icons from here: https://react-icons.github.io/react-icons
- You can see an example of using them in
examples/react-crash-course/react-task-tracker/src/components/Xbtn.js
- You can see an example of using them in
I've been styling using index.css rather than react as it's usually a lot easier to make changes. So if you need to edit the style of something that isn't bootstrap-specific, my edits will all be class and selector-based and stored in index.css - Brooke
There will be a .env file for each person with a database login string and it will contain the api key.
Place it in the fs-weather-app/server directory and it should work!
We are using json-server and json-server-auth to securely store the email and password information of our users.
https://www.npmjs.com/package/json-server-auth
It uses a JWT style of authentication