Skip to content

Feat: Add full CRUD support for quotes APIs and documentation updates for quotes resource #110

Description

@nayan-kunwar

Currently the quotes resource supports read operations.

I would like to enhance it by adding full CRUD support:

  • POST /quotes/add
  • PUT /quotes/:id
  • PATCH /quotes/:id
  • DELETE /quotes/:id

These endpoints simulate write operations (consistent with other resources in the project).

Additionally, I have updated the documentation page:

  • Added sections for Add, Update(PUT or PATCH), and Delete operations
  • Updated side navigation links
  • Included example fetch requests and JSON responses
  • Maintained consistency with existing documentation format (EJS structure)

This improves API consistency across resources and keeps the documentation aligned with the available endpoints.

Please let me know if you're open to this contribution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions