Home

Awesome

BADAAS: Backend And Distribution As A Service

Badaas enables the effortless construction of distributed, resilient, highly available and secure applications by design, while ensuring very simple deployment and management (NoOps).

Badaas provides several key features:

To quickly get badaas up and running, please head to the miniblog tutorial

Quickstart

You can either use the Docker Install or build it from source .

Docker install

You can build the image using docker build -t badaas . since we don't have an official docker image yet.

Install from sources

Prerequisites

Get the sources of the project, either by visiting the releases page and downloading an archive or clone the main branch (please be aware that is it not a stable version).

To build the project:

go get
go build .

Well done, you have a binary badaas at the root of the project.

Then you can launch Badaas directly with:

export BADAAS_DATABASE_PORT=<complete>
export BADAAS_DATABASE_HOST=<complete>
export BADAAS_DATABASE_DBNAME=<complete>
export BADAAS_DATABASE_SSLMODE=<complete>
export BADAAS_DATABASE_USERNAME=<complete>
export BADAAS_DATABASE_PASSWORD=<complete>
./badaas 

Configuration

Badaas use verdeter to manage it's configuration. So Badaas is POSIX complient by default.

Badaas can be configured using environment variables, configuration files or CLI flags. CLI flags take priority on the environment variables and the environment variables take priority on the content of the configuration file.

As an exemple we will define the database.port configuration key using the 3 methods:

The config file can be placed at /etc/badaas/badaas.yml or $HOME/.config/badaas/badaas.yml or in the same folder as the badaas binary ./badaas.yml.

If needed, the location can be overridden using the config key config_path.

For a full overview of the configuration keys: please head to the configuration documentation.

Contributing

See this section.

Licence

Badaas is Licenced under the Mozilla Public License Version 2.0.