module
Version:
v0.0.0-...-8dcd180
Opens a new window with list of versions in this module.
Published: Nov 29, 2021
License: Apache-2.0
Opens a new window with license information.
README
¶
Library REST-API
Simple REST-API server. Task description is here
🔥 Run
Download:
git clone https://github.com/p12s/library-rest-api.git && cd library-rest-api
mv .env.example .env
docker-compose up -d
Open in browser: http://localhost/swagger/index.html
Stop:
docker-compose down
There is a bug with migrations - they are not performed automatically as they should.
You have to run the command manually.
migrate -path ./schema -database 'postgres://postgres:qwerty@localhost:5432/postgres?sslmode=disable' up
📌 Documentation
Directories
¶
|
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag |
|
|
|
|
|
|
pkg
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.