Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nisarg2061/library-api
Library API is a simple CRUD API developed in Go that manages books and authors
https://github.com/nisarg2061/library-api
backend crud crud-api go golang
Last synced: 2 days ago
JSON representation
Library API is a simple CRUD API developed in Go that manages books and authors
- Host: GitHub
- URL: https://github.com/nisarg2061/library-api
- Owner: Nisarg2061
- Created: 2024-08-09T18:49:34.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T16:58:26.000Z (3 months ago)
- Last Synced: 2024-08-25T18:05:11.757Z (3 months ago)
- Topics: backend, crud, crud-api, go, golang
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Library API
## Description
Library API is a simple CRUD API developed in Go that manages books and authors. It organizes book and author data using structures and provides various endpoints to interact with this data.## Features
- CRUD Operations: Create, read, update, and delete books and authors.
- Structured Data Storage: Utilizes Go structures to store book and author information.
- Endpoints: Provides different routes to access and manage the data.## Usage
1. Clone the repository:
```
git clone https://github.com/Nisarg2061/Library-API.git
```
2. Navigate to the project directory:
```
cd Library-API
```
3. Run the project:
```
go run main.go
```## Optional: Running with Docker
If Docker and Docker Compose are installed, you can run the project using Docker. Follow these steps:
1. Build and start the containers:
```
sudo docker-compose up -d
```
This command will build the Docker images and start the containers as defined in the `docker-compose.yml` file and run it in background.