Skip to content

My First Node Js/ Express Js hosted (non-mobile responsive) web app. Currently used for showcasing weather forecast using an API but can be used as a portfolio site too.

Notifications You must be signed in to change notification settings

sunilgareja/nodejs-express-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-express-webapp

To install:

  1. Make sure you have NodeJs installed on your computer.
  2. Download as zip or clone this git repository to your device.
  3. Once the file is downloaded, open with your code editor, and using the terminal run the following command:
  • npm install

I am using the Mapbox API and DarkSky API to make weather forecast requests, simply sign up to the following:

Once signed up, get the appropriate API keys/ URLS and insert them into the following files:

  • src > utils > geocode.js (mapbox API)
  • src > utils > weatherapi.js (darksky API)

I am using the Handlebars Js template to render content on the page, make sure you customize the content so it suits your requirements

To make life easier you could go a global search for the keyword: 'Insert' to see where I have mentioned the above changes to be made

Finally to run the app redirect to the following directory:

  • src

Once in the Src directory in the terminal type the following:

  • node app.js

About

My First Node Js/ Express Js hosted (non-mobile responsive) web app. Currently used for showcasing weather forecast using an API but can be used as a portfolio site too.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published