confirmerator-api

command
v0.0.0-...-8ad73b1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: GPL-3.0, GPL-3.0 Imports: 13 Imported by: 0

README

Confirmerator API

Provides REST API to the Confirmerator project. Add/Remove users and devices

Quickstart

Configuration is done through environment variables.

Configure the http listener with LISTEN-ADDRESS and LISTEN-PORT

Database connection by string: MONGOURI example mongodb0.example.com:27017/my_db

Another MONGOURI example with credentials and replica set myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017,mongodb1.example.com:27017,mongodb2.example.com:27017/my_db?replicaSet=myRepl

Docker

docker build -f api/Dockerfile -t confirmerator-api . && docker run -p 80:80 --name confirmerator-api confirmerator-api

Contribution

Thank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!

If you'd like to contribute to confirmerator, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base.

Please make sure your contributions adhere to our coding guidelines:

  • Code must adhere to the official Go formatting guidelines (i.e. uses gofmt).
  • Code must be documented adhering to the official Go commentary guidelines.
  • Pull requests need to be based on and opened against the master branch.

License

The Confirmerator binaries (i.e. all code inside of this project) is licensed under the GNU General Public License v3.0, also included in our repository in the LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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