books-api

command module
v0.0.0-...-1c756da Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 6 Imported by: 0

README

Books-api

The project is a CRUD Golang REST API that uses gorilla/mux as router framework, MySQL as a database and Docker to build.

TODO

Getting started

Locally

To run project locally you need to export the environment variable PORT=:8080 or to other port to your choice and. You must have installed:

  • Golang >=1.17
  • MySQL >=5.7
make run-tests

Docker Compose

make docker-compose

The default PORT to test via Docker is 8080

Documentation

The API documentation is on ./docs/openapi/swagger.yaml The database schema is on ./docs/db/schema_v1.sql

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
app/adapter/repository
Package repository is a generated GoMock package.
Package repository is a generated GoMock package.
app/domain
Package domain is a generated GoMock package.
Package domain is a generated GoMock package.

Jump to

Keyboard shortcuts

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