Skip to content

MohitMourya/bookmarking_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend API for a Bookmarking application

Developed on Node Express & MongoDB [Front-End in Progress]

API Functionalities

1. Bookmarking

  • Create a Bookmark

    • POST request to bookmarking-api.herokuapp.com/api/bookmark/ with JSON body.
  • Delete a Bookmark

    • DELETE request to bookmarking-api.herokuapp.com/api/bookmark/:url with url in params.

2. Tag

  • Create a tag

    • POST request to bookmarking-api.herokuapp.com/api/tag/ with JSON body
  • Delete a tag

    • DELETE request to bookmarking-api.herokuapp.com/api/tag/:title with tag title in params.
  • Add a Tag to a Bookmark

    • PUT request to bookmarking-api.herokuapp.com/api/bookmark/add/:id with bookmark id in params and tag title in JSON body.
  • Remove a Tag from a Certain Bookmark

    • PUT request to bookmarking-api.herokuapp.com/api/bookmark/remove/:id with bookmark id in params and tag title in JSON body.

3. Display

  • Retrieve all bookmarks

    • GET request to bookmarking-api.herokuapp.com/api/bookmark/
  • Retrieve all tags

    • GET request to bookmarking-api.herokuapp.com/api/tag/

Usage

Run npm start to run the server

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Backend API for bookmarking application on Node Express & MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published