Simple example application using compojure-api, with added database migrations and seeds.
First make sure that the database compojure_api_dev
exists.
This project uses the migratus library, to run the migrations to initialize the database, simply run:
lein migratus migrate
This command will also seed the newly created database.
Run the following command:
lein run
You will have it up and running in port 3000. Then you can just simply navigate to http://localhost:3000 and start using the beautiful Swagger UI interface.
lein do clean, ring uberjar
java -jar target/server.jar
lein ring uberwar