bookclub

command module
v0.0.0-...-84f6849 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 9 Imported by: 0

README

book-club

Connect your physical bookshelf with your friends!

How to run

  • Checkout the project and using the terminal, navigate to its folder.
  • Run docker compose up -d to startup the database.
  • Run go build && ./bookclub.

API

  • You can find the swagger documentation at http://localhost:8080/swagger/index.html
  • Fetch book from OpenLibrary API GET http://localhost:8080/api/books/{isbn}
  • Add book to the logged in user POST http://localhost:8080/api/collection/{isbn}

Trade offs

  • I regret adding Gorm as the ORM library.
  • The search implementation is not okay.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL