command
module
Version:
v0.0.0-...-aec8730
Opens a new window with list of versions in this module.
Published: Nov 5, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
RESTful API written in GO
Installation
We provide you with two ways to install the api.
Installation with docker
docker-compose up
Installation with bash script
- create a debian10 system with ssh and standard systemtools
- get a domain name and create dns A record to your WAN IP
- on your router: create port forwarding for http and https to your debian10 system
- copy the bash script to your debian10 system and execute it as normal user:
bash script
API endpoints
-
GET /books/
list of all books
-
POST /books/
create new book
-
GET /books/:id
get single book
-
PUT /books/:id
update book
-
DELETE /books/:id
delete single book
-
GET /author/
list of all author
-
POST /author/
create new author
-
GET /author/:id
get single author
-
PUT /author/:id
update author
-
DELETE /author/:id
delete single author
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
internal
|
|
|
|
|
|
|
|
pkg
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.