[go: nahoru, domu]

Skip to content

Latest commit

 

History

History

MoreExpress

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

#Rendering HTML and Templates

  • Use res.render() to render HTML(from an EJS file)
  • Explain what EJS is and why we use it
  • Pass variables to EJS templates

#EJS Control Flow

  • Show examples of control flow in EJS templates
  • Write if statements in an EJS file
  • Write loops in an EJS file

#Styles And Partials

  • Show how to properly include public assets
  • Properly configure our app to use EJS
  • Use partials to dry up our code!

#Post Requests!!!

  • Write post routes, and test them with Postman
  • Use a form to send a post request
  • Use body parser to get form data