Categorygithub.com/NicolaiMordrup/library
repositorypackage
0.0.0-20211020145121-8cbf35a92e5c
Repository: https://github.com/nicolaimordrup/library.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Library GRPC server and GRPC gateway CRUD api

This is a GRPC server and a GRPC gateway which implements a CRUD rest API.

Endpoints:

MethodEndpointDescription
POST/booksCreate a book
GET/booksGet list of all books
GET/books/{isbn}Get user by isbn
PUT/books/{isbn}Update user by isbn
DELETE/books/{isbn}Delete user by isbn

Run locally

  • Clone the repository
git clone https://github.com/NicolaiMordrup/library.git
  • Open a terminal in the root directory of your code and run the following command to start the application.

Run with local go installtion

go run cmd/main.go