A simple RESTful API built with Go, designed for managing a bookstore's collection.
- CRUD Operations: Create, retrieve, update, and delete books.
- JSON API: All responses are returned in JSON format for easy frontend integration.
- Database Support: Easily configurable for SQLite, MySQL, or PostgreSQL.
GET /books
- List all booksGET /books/{id}
- Get a book by IDPOST /books
- Add a new bookPUT /books/{id}
- Update an existing bookDELETE /books/{id}
- Delete a book by ID
- Go installed on your machine
- Database setup (optional for development)
- Clone the repository:
git https://github.com/ndegealbert/Golangbookstore-Api.git cd Golangbookstore-Ap