Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pooulad/go-book-management

🚨This program is written with GO and manages a book system
https://github.com/pooulad/go-book-management

book-management-system go golang

Last synced: about 2 months ago
JSON representation

🚨This program is written with GO and manages a book system

Awesome Lists containing this project

README

        

# go-book-management
This is an exercise example for teaching and working with web servers.
just enjoy programming :)
![maxresdefault](https://github.com/pooulad/go-book-management/assets/86445458/45e00ac9-69dd-4835-bd38-4e2d6015b496)

## API Reference

#### Get all Books

```http
GET /book/
```
#### Create Book

```http
POST /book/
```
```json
{
"name": "mahdi",
"author": "pooulad",
"publication": "31/10//2023"
}
```

#### Get Book

```http
GET /book/{bookId}
```

| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `bookId` | `string` | **Required**. Id of item to fetch |

#### Delete Book

```http
DELETE /book/{bookId}
```

| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `bookId` | `string` | **Required**. Id of item to fetch |

#### Get item

```http
POST /book/{bookId}
```

| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `bookId` | `string` | **Required**. Id of item to fetch |