Skip to content

ntthanhvyy/dmit2008-employee-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Manager Day 6

EJS TASKS

  • Setup EJS with Node and Express
  • Add the dashboard and the login to the views folder.
  • Add slots to the login template for the password and email warnings.
  • Send the template using res.render(template, {data})
  • Update the index.html page anchor elements to point to the login get route.

Login Service Returns User Object

  • If value isValidUser true redirect to dashboard.
  • Set cookie session variable to true.

Login Service Returns NULL

  • Render login template and add warnings messages.
  • Adding client side javascript to template.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published