Skip to content
Taylor McClerin edited this page Jun 27, 2023 · 1 revision

Frontend Routes

  • Login, path '/login'
  • Signup, path '/signup'
  • Notes, path '/notes'
  • Notebooks, path '/notebooks'
  • Notboook Details, path 'notebooks/:notebookId'
  • Create Notebook, path '/notebooks/new'
  • Tasks, path '/tasks'
  • Create Task, path '/tasks/new'

Backend Routes

Users

  • Login, POST, '/login'
  • Logout DELETE, '/logout'
  • Signup POST, '/signup'

Notebooks

  • Notebooks List, GET, '/notebooks'
  • NotebookDetailPage, GET, '/notebook/notebookId'
  • New Notebook, POST, '/notebooks/new'
  • Edit Notebook, PUT, '/notebooks/notebookId/edit'
  • Delete Notebook, DELETE, '/notebooks/notebookId/delete'

Notes

  • Notes, GET, '/notes'
  • Note by Note Id, GET, '/notes/noteId'
  • New Note, POST, '/notes'
  • Edit Note by Note Id, PUT, '/notes/noteId'
  • Delete Note by Note Id, DELETE, '/notes/noteId'

Tasks

  • Tasks, GET, '/tasks'
  • Task by Task Id, GET, '/tasks/taskId'
  • New Task, POST, '/tasks/new'
  • Edit Task by Id, PUT, '/tasks/taskId/edit'
  • Delete Task by Id, DELETE, '/tasks/taskId/delete'

Tags

  • Tags, GET, '/tags'
  • Task by Task Id, GET, '/tags/taskId'
  • New Tag, POST, '/tags'
  • Edit Tag by Id, POST, '/tags/taskId'
  • Delete Tag by Id, DELETE, '/tags/tagId'

Note Tags (Join Table Query)

  • Note Tags, GET, '/notetags'
  • Add Tag to Note, POST, '/notetags/noteId/tagId'
  • Edit Task by Id, PUT, '/tasks/taskId/edit'
  • Delete Note Tag, DELETE, '/notetags/noteId/tagId'
  • Remove Tag from all Notes, DELETE, '/notetags/all/tagId'

Clone this wiki locally