svelte-kit-note-keeper Svelte Themes

Svelte Kit Note Keeper

API roadmap for notes app:

šŸ“ Collections API

Retrieval • GET /collections → Get all collections (preload nested collections) • GET /collections/:id/notes → Get notes by collection ID

Modification • POST /collections → Create a collection • PATCH /collections/:id → Update a collection • DELETE /collections/:id → Delete a collection

šŸ“ Notes API

Retrieval • GET /notes → Get all notes (pre populate tag and status objects in each note) • GET /notes/:id → Get a single note

Modification • POST /collections/:collectionId/notes → Create a note within a collection • PATCH /notes/:id → Update a note • DELETE /notes/:id → Delete a note • PATCH /notes/:id/archive → Archive a note

šŸ· Tags API

Retrieval • GET /tags → Get all tags

Modification • POST /tags → Create a tag • PATCH /tags/:id → Update a tag • DELETE /tags/:id → Delete a tag

šŸ“Œ Status API

Retrieval • GET /statuses → Get all statuses

Modification • POST /statuses → Create a status • PATCH /statuses/:id → Update a status • DELETE /statuses/:id → Delete a status (except default ones)

šŸ”¹ Additional Considerations • Ensure default statuses (todo, in-progress, pending, done) cannot be deleted. • Use soft deletion (isArchived, isDeleted) instead of hard deletion where necessary. • Implement pagination for GET /notes if the dataset grows large.

Top categories

Loading Svelte Themes