liberdade-organizacao / no-backend-api

MIT License
0 stars 0 forks source link

Generic Backend-as-a-Service

Run your own no-backend service!

Setup

Requirements:

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:

docker-compose up -d db
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