Weather data app with user authentication to store locations
- HTML
- CSS
- JavaScript
- Bootstrap
- React.js
- Node.js
- Express.js
- MongoDB
You should have the following things installed:
- Node
- npm
- MongoDB
- Git
To run this project in your system follow these steps by running the commands in your CLI:
- Open your working directory and run:
git clone https://github.com/gauravgoverdhan/bcrypt-authentication.git
- Make sure to create a .env file with authentications keys from the following:
SALT_ROUNDS=10
GEOCODE_AUTH_KEY={https://geocode.xyz/new_account}
OPEN_WEATHER_API_KEY={https://openweathermap.org/appid}
- Start your Mongo server by running:
mongod
- Navigate into the server directory and run:
npm i
npm start
- Navigate into the client directory and run:
npm i
npm start
- The app should open in your browser, if not open the following in your browser:
http://localhost:3000