Skip to content

DWDatITP/ExampleServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Node Server

Setup:

  • Install nodemon:
    • npm install -g nodemon
  • Install dependencies:
    • npm install (This installs all the dependencies in package.json)

To run this server:

To view the server in action:

Links

  • The week 3 repository (adding in express and handlebars) has its own repo.
  • The sample code for creating an express+handlebars app is on github.

Set up express!

This is covered in Week 3.

Configuring a templating engine (handlebars)

Also covered in Week 3.

Using a layout

Also covered in Week 3.

The full code is on github.

Reading data from forms