An Identity Access Manager API built with Leiningen.
You will need Leiningen 2.0.0 or above installed.
- Run
git clone https://github.com/codewriter3000/identity-access-manager-clj.git
. - Run
lein install
. - Create a PostgreSQL database. You'll insert connection properties in step 5.
- Create a
env.clj
file directly under thesrc/
directory. - Your
env.clj
file should look something like this:
(ns env)
(def _
{:DATABASE_TYPE "postgres"
:DATABASE_NAME "iam_test"
:DATABASE_USER "postgres"
:DATABASE_HOST "localhost"
:DATABASE_PORT "5432"
:DATABASE_PASS "Password1!"})
- Run
lein test
and make sure all of the tests pass. If anything fails, open an issue.
To start a web server for the application, run:
lein ring server
Copyright © 2024 FIXME