/todo-app

A dummy moodle vanila javascript app.

Primary LanguageHTML

todo-app

A dummy app made with vanilla javascript app.

Steps to create the app

  1. Create git repo (GitHub)
  2. Configure package.json file (npm init)
  3. Create index.html file just with , and tags
  4. Add bootstrap, jquery and sweet alert as dependencies and load it in HTML
  5. Add lite-server as dev dependency
  6. Search for login structure in Google with an example
  7. Create css for styles
  8. Create constants file for configuration
  9. Create login service for requests
    • Create saveToken, removeToken and getToken methods
    • Create login method
    • Create register method
    • Create logout method
  10. Create register and home views
  11. Add home and redirect controllers.
  12. Add onload attributes to validate session.