Weather App made with React, Typescript, SCSS and Express (backend).
Preview: weather-app
- Clone and install all the dependencies (frontend / backend)
git clone https://github.com/lorenzo774/weather-app.git
cd weather-app/server
npm i
cd ../client
npm i
-
Create a new account for weatherbit.io and get the API Key
-
Create a .env file inside server
ENDPOINT="https://api.weatherbit.io/v2.0/current"
API_KEY=[YOUR_KEY]
PORT=3000
ORIGIN='http://localhost:5173'
- Create a .env file inside client
VITE_API_ENDPOINT='http://localhost:3000/weather'
- Run the server and the client