- 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.
- If value isValidUser true redirect to dashboard.
- Set cookie session variable to true.
- Render login template and add warnings messages.
- Adding client side javascript to template.