Skip to content

A simple API using drift migrations, compojure, swagger and honeysql

License

Notifications You must be signed in to change notification settings

anthontaylor/SogetiServer

Repository files navigation

Travis CI

Build Status codecov

Prerequisites

Leiningen 2.0.0 or above.

Docker

Docker-Compose

Running

To migrate database table

lein migrate

To connect to database and api

docker-compose up

To build api

docker-compose build api

To start a web server for the application, run:

lein ring server

Deploying

To deploy application as jar file and start the jar file server

lein ring uberjar

java -jar target/sogeti-server-0.1.0-SNAPSHOT-standalone.jar/

Testing

To run unit tests, run:

lein test