https://github.com/mnimidamon/mnimidamon-backend
Backend for mnimidamon written in Go.
https://github.com/mnimidamon/mnimidamon-backend
backup-utility cross-platform file-backup-application fyne go go-swagger golang gui mnimidamon restful-webservices sqlite3 swagger
Last synced: 5 days ago
JSON representation
Backend for mnimidamon written in Go.
- Host: GitHub
- URL: https://github.com/mnimidamon/mnimidamon-backend
- Owner: mnimidamon
- License: apache-2.0
- Created: 2021-06-10T16:24:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-07T11:08:06.000Z (almost 5 years ago)
- Last Synced: 2025-11-03T23:12:35.283Z (8 months ago)
- Topics: backup-utility, cross-platform, file-backup-application, fyne, go, go-swagger, golang, gui, mnimidamon, restful-webservices, sqlite3, swagger
- Language: Go
- Size: 1000 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#  mnimidamon server
Backend for _mnimidamon_ written in Go.
## Running
The _mnimidamon_ server can be started with this command:
``go run ./cmd/mnimidamon-server/main.go``
or build the executable and run it later:
``go build ./cmd/mnimidamon-server/main.go``
## OpenAPI code generation
The server uses HTTP communications to exchange JSON entities. The endpoints follow REST specifications
which are defined in `./public/spec/swagger.yml`. Client and Server communication code is generated by the
`go-swagger` toolkit. If the specifications change, run the following commands respectfully.
Generate endpoints code:
``swagger generate server -A mnimidamon -f ./public/spec/swagger.yaml -C swagger-layout.yml -t ./adapter/restapi -s endpoints -m modelapi
``
Generate clients code:
``swagger generate client -A mnimidamon -f ./public/spec/swagger.yaml ``
## Installation
Generate GUI mnimidamon server .exe file for windows:
`` go build -ldflags -H=windowsgui cmd/mnimidamon-server-gui/main.go ``
For other platforms:
`` go build cmd/mnimidamon-server-gui/main.go ``
Generate command line mnimidamon server .exe file:
`` go build cmd/mnimidamon-server/main.go ``
## Application sneak peek



