This was my first ever CRUD done with Golang. It was a challenge cause i hadn't got experience with backend development in general. In spite of that, i am preety confortable with the result.
POST /api/v1/notes/create
Parameter | Type | Description |
---|---|---|
owner_name |
string |
Required |
title |
string |
Required |
details |
string |
Optional |
GET /api/v1/notes/readall
GET /api/v1/notes/readbyid
Parameter | Type | Description |
---|---|---|
id |
int |
Required |
PUT /api/v1/notes/update
Parameter | Type | Description |
---|---|---|
id |
int |
Required |
DELETE /api/v1/notes/delete
Parameter | Type | Description |
---|---|---|
id |
int |
Required |
Language: Go
Packages: Chi, Zap and lib/pq
Database: PostgreSQL
Others: Docker