/sample-node-web-server

Sample node web server using express JS

Primary LanguageJavaScriptMIT LicenseMIT

Sample node Web Server

Sample project created following the book Learning Node.js Development from Packt. This project is the result of the chapters 07 to 09.

Installation

Run npm install to install all the required dependencies

Usage

To start the server, use npm start

Deploy to Heroku

This server is ready to be deployed and used to Heroku. Run heroku create to create the application in Heroku with this server. Then, run git push heroku to deploy the server to Heroku. To open the application, run heroku open.

Structure

The public folder contains the static pages of the project. The views folder contains the view templates. The templates are built using Handlebears