Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.