Skip to content

Uses sessions for login, allows students to login and mark themselves as present

Notifications You must be signed in to change notification settings

DWDatITP/ExampleServer-Week4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Uses sessions for login, allows students to login and mark themselves as present

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published