Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mister-fix/part3-notes-backend
https://github.com/mister-fix/part3-notes-backend
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mister-fix/part3-notes-backend
- Owner: mister-fix
- Created: 2024-05-14T18:08:23.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-24T02:19:30.000Z (5 months ago)
- Last Synced: 2024-07-24T22:54:36.862Z (5 months ago)
- Language: JavaScript
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes App Backend
This is the backend of the notes application we developed the frontend for under the part 2 directory,
which can be found [here](https://github.com/smwingira/part2-notes-frontend/tree/main).You can interact with the backend here: [https://part3-notes-app-backend.fly.dev/](https://part3-notes-app-backend.fly.dev/). Below are a list of usable endpoints.
## Endpoints
### GET
- Home: [https://part3-notes-app-backend.fly.dev/](https://part3-notes-app-backend.fly.dev/)
- All Notes: [https://part3-notes-app-backend.fly.dev/api/notes](https://part3-notes-app-backend.fly.dev/api/notes) => JSON data
- Single Note: [https://part3-notes-app-backend.fly.dev/api/notes/6650f574fb015f1b229775d1](https://part3-notes-app-backend.fly.dev/api/notes/6650f574fb015f1b229775d1)
- You can modify the ID at the end to any of the existing notes in the API
- All Users: [https://part3-notes-app-backend.fly.dev/api/users](https://part3-notes-app-backend.fly.dev/api/users)### POST
- Notes: [https://part3-notes-app-backend.fly.dev/api/notes](https://part3-notes-app-backend.fly.dev/api/notes)
- Posting to this endpoint will create a new note entry. Only registered users can do this. Both the name and number must be in the request body, there are error checks to make sure this is the case.