项目作者: joelias71

项目描述 :
Asynchronous node.js application using callback functions with express and handlebars
高级语言: JavaScript
项目地址: git://github.com/joelias71/async-node-express-hbs.git
创建时间: 2020-04-04T23:37:14Z
项目社区:https://github.com/joelias71/async-node-express-hbs

开源协议:

下载


Weather Application

Example of an asynchronous node.js application, use of handlebars and express

Requirements

  • node.js 12.*
  • npm 6.*

Dependencies

  • express 4.17.1
  • hbs 4.1.1
  • properties-reader 2.0.0
  • properties-file 1.0.0
  • request 2.88.2

Building

Install the dependencies before start:

  1. $ cd async-node-express-hbs
  2. $ sudo npm install

APIs

Before you start the application you need to create an account in:

This API’s are used to get realtime data to the application. After that you need to set the keys in the app.properties file using the variables weatherstack.key & mapbox.key

Run the Application

  1. $ npm start