An awesome mini web application built with Node.js and Express for you to readily search for current weather condition of a place.
Functions | Detail | URL |
---|---|---|
Find instructions to use | User can find the instructions to use the app | / |
Search for weather condition | User can search for the current weather condition of a place | /search |
The following instructions will get you a copy of the project and all the setting needed to run it on your local machine.
Clone this repository to your local machine
$ git clone https://github.com/smallpaes/weather-search.git
-
Create an account at https://darksky.net/dev
-
Create a new project at https://www.mapbox.com/
-
Enter the project folder
$ cd restaurant-list-v3
- Install npm packages
$ npm install
- Create .env file
$ touch .env
- Store API Key in .env file and save
DARKSKY_KEY=<YOUR_DARKSKY_API_KEY>
MAPBOX_KEY=<YOUR_MAPBOX_API_KEY>
- Activate the server
$ node app.js
- Find the message for successful activation
> Express is listening on http://localhost:3000
You may visit the application on browser with the URL: http://localhost:3000