Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 890 Bytes

README.md

File metadata and controls

51 lines (34 loc) · 890 Bytes

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