Everything you need to get you up and running with a compojure-api utilizing token-based authentication.
Make sure you have the latest version of leiningen installed.
lein new authenticated-compojure-api <project-name>
The project pulls sensitive information from environment variables. Make sure to populate the file completely.
Equivalent environment variables are
psql < script/init_database.sql
Migrations are managed by migratus to begin working initially run both:
lein migratus migrate && lein with-profile test migratus migrate
lein run -m <project-name>.server 3000
The HTML documentation can be generated with
Edit on GitHub
lein doc the output will be saved in