Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pooulad/go-book-management
- Owner: pooulad
- License: mit
- Created: 2023-05-27T14:23:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-31T13:52:28.000Z (about 1 year ago)
- Last Synced: 2024-06-21T17:01:47.252Z (7 months ago)
- Topics: book-management-system, go, golang
- Language: Go
- Homepage:
- Size: 6.04 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 |