https://github.com/virajpatidar/notes-backend
Backend API developed using GO Fiber for note making application
https://github.com/virajpatidar/notes-backend
fiber go go-fiber gofiber golang rest-api sql
Last synced: 30 days ago
JSON representation
Backend API developed using GO Fiber for note making application
- Host: GitHub
- URL: https://github.com/virajpatidar/notes-backend
- Owner: VirajPatidar
- Created: 2021-11-23T15:04:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T06:49:30.000Z (over 3 years ago)
- Last Synced: 2023-03-05T01:26:17.240Z (over 3 years ago)
- Topics: fiber, go, go-fiber, gofiber, golang, rest-api, sql
- Language: Go
- Homepage: https://go-notes.netlify.app/
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# notes-backend (Backend API for Note Making Application)
_This project serves as backend for [Note Making Application (notes-frontend)](https://github.com/VirajPatidar/notes-frontend). The API was developed using GO Fiber._
**Link to the website:** [https://go-notes.netlify.app/](https://go-notes.netlify.app/)
**Link to frontend repo:** [https://github.com/VirajPatidar/notes-frontend](https://github.com/VirajPatidar/notes-frontend)
### Tech Stack ###
* GO
* Fiber
* SQL
* HTTP Only cookies
### API Endpoints ###
**Authentication:**
| Method | API Endpoint | Description |
| :--- | :--- | :---
| `POST` | `/register` | To register or sign-up user |
| `GET` | `/user` | To get details of signed in user |
| `POST` | `/login` | To log into Note Making Application |
| `POST` | `/auth/logout` | To log out from Note Making Application |
**Notes:**
| Method | API Endpoint | Description |
| :--- | :--- | :---
| `GET` | `/note/{note_id}` | To get a particular note by id |
| `PUT` | `/update-note/{note_id}` | To update/edit a particular note by id |
| `GET` | `/notes` | To get all notes of the user |
| `POST` | `/create-note` | To create a note |
| `DELETE` | `/delete-note/{note_id}` | To delete a particular note by id |