Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DWDatITP/ExampleServer

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
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

About

Sample server

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.