Developed on Node Express & MongoDB [Front-End in Progress]
-
Create a Bookmark
- POST request to
bookmarking-api.herokuapp.com/api/bookmark/with JSON body.
- POST request to
-
Delete a Bookmark
- DELETE request to
bookmarking-api.herokuapp.com/api/bookmark/:urlwith url in params.
- DELETE request to
-
Create a tag
- POST request to
bookmarking-api.herokuapp.com/api/tag/with JSON body
- POST request to
-
Delete a tag
- DELETE request to
bookmarking-api.herokuapp.com/api/tag/:titlewith tag title in params.
- DELETE request to
-
Add a Tag to a Bookmark
- PUT request to
bookmarking-api.herokuapp.com/api/bookmark/add/:idwith bookmark id in params and tag title in JSON body.
- PUT request to
-
Remove a Tag from a Certain Bookmark
- PUT request to
bookmarking-api.herokuapp.com/api/bookmark/remove/:idwith bookmark id in params and tag title in JSON body.
- PUT request to
-
Retrieve all bookmarks
- GET request to
bookmarking-api.herokuapp.com/api/bookmark/
- GET request to
-
Retrieve all tags
- GET request to
bookmarking-api.herokuapp.com/api/tag/
- GET request to
Run npm start to run the server
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.