React & Express weather app using OpenWeatherMap API & Firebase & SSE notification. Here an example HerokuWeatherAPP.
Server side exports a rest API.
First clone this repository.
$ git clone https://github.com/JRA-ZGZ/WeatherAPP.gitInstall dependencies. Make sure you already have nodejs & npm installed in your system.
$ npm install Create a build.
$ npm run build Run it
$ npm run start Don't forget to config with your own credentials the FirebaseClient
const firebaseConfig = {
apiKey: "api-key",
authDomain: "project-id.firebaseapp.com",
databaseURL: "https://project-id.firebaseio.com",
projectId: "project-id",
storageBucket: "project-id.appspot.com",
messagingSenderId: "sender-id",
appID: "app-id",
};