Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
EJSDemo
PostRequestDemo
readme.md

readme.md

#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
You can’t perform that action at this time.