Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 1.29 KB

TODO.md

File metadata and controls

27 lines (26 loc) · 1.29 KB

TODO

  • Replace require/export with import/export
  • Replace promises with async/await
  • Replace lets with consts wherever possible
  • Implement CI workflow for linting/testing
  • Retreive login history from database instead of cookie
  • Bugfix: Allows creation of duplicate usernames
  • Replace Bootstrap with TailwindCSS/DaisyUI
    • Set up TailwindCSS
    • Set up DaisyUI
    • Remove Bootstrap CDN link and classes (Use this regex to search & replace classes: /class="[^"]*"/)
    • Add <link> to /css/main.css instead of nottailwind.css in main.hbs
    • Add component classes to .hbs files
  • Add edit post functionality
  • Show 5 blog posts at a time on /blog route with pagination to go back/forward
  • Split blogService into two objects: posts and categories, each containing the relevant methods
    • Update method names to remove redundant "post" and "category" from name
    • Update app.js to use new methods
  • Replace Sequelize with Prisma
    • Set up Prisma
    • Replace Sequelize queries with Prisma queries
    • Remove Sequelize import, model definitions, env variables
    • Update views to use new property names
  • Confirm post deletion
  • Make Posts list in /blog show active post
  • Rework app.js catch blocks