Functionals

2.1 Admin - login | logout

- Create 'models/AdminDAO.js' file

- Create 'controllers/admin.js' file

- Update 'index.js' file

- Create 'views/admin/login.ejs' file

- Create 'views/admin/home.ejs' file

- Create 'views/admin/admin_menu.ejs' file

- Browser:

  • http://localhost:3000/admin/
  • http://localhost:3000/admin/home