This project is a server side developed in Golang programming language using Gin framework. The project interacts with PostgreSQL database, uses RESTful architecture, CRUD system, and asynchronous programming using channels.
- gin framework
- pgx driver
- postgresql
- Insomnia
- CRUD
- http server
- asynchronous programming using channels
GET /albums| Parameter | Type | Description |
|---|---|---|
album |
JSON |
Returns all albums in --pretty JSON |
GET /albums/${id}| Parameter | Type | Description |
|---|---|---|
id |
int |
Required. Id of item to fetch |
implement's asynchronous programming using channels
POST /albums| Parameter | Type | Description |
|---|---|---|
album |
JSON |
Required. JSON albums array |
DELETE /albums/${id}| Parameter | Type | Description |
|---|---|---|
id |
int |
Required. Id of item to delete |
PATCH /albums/${id}| Parameter | Type | Description |
|---|---|---|
id |
int |
Required. Id of item to PATCH |