Skip to content

This is a simple RESTful API built with Go, providing basic functionality for managing a book store. It enables users to add, retrieve, update, and delete books, with essential information such as title, author, and publication year.

Notifications You must be signed in to change notification settings

ndegealbert/Golangbookstore-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Store API

A simple RESTful API built with Go, designed for managing a bookstore's collection.

Features

  • 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.

Endpoints

  • GET /books - List all books
  • GET /books/{id} - Get a book by ID
  • POST /books - Add a new book
  • PUT /books/{id} - Update an existing book
  • DELETE /books/{id} - Delete a book by ID

Getting Started

Prerequisites

  • Go installed on your machine
  • Database setup (optional for development)

Installation

  1. Clone the repository:
    git https://github.com/ndegealbert/Golangbookstore-Api.git
    cd Golangbookstore-Ap

About

This is a simple RESTful API built with Go, providing basic functionality for managing a book store. It enables users to add, retrieve, update, and delete books, with essential information such as title, author, and publication year.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages