Skip to content

liberdade-organizacao/no-backend-api

Repository files navigation

Generic Backend-as-a-Service

Run your own no-backend service!

Setup

Requirements:

  • Leiningen
  • Docker (optional for development)
  • cljfmt (optional for development)

The following repositories are expected to work with this one as well:

First, ensure the environment variables are properly set up:

cp .env.example .env
source .env

Check the example ENV file for the required parameters.

Setup the database:

lein run migrate-up

And finally execute the application:

lein run up

The whole system can be run with Docker Compose:

lein uberjar
docker-compose up

Usage

To run tests:

lein test