Skip to content

Latest commit

History

History
39 lines (27 loc) 路 446 Bytes

README.md

File metadata and controls

39 lines (27 loc) 路 446 Bytes

clojure-api

Usage

Create an .lein-env file at the root.

{:db-type "mysql"
 :db-name ""
 :db-user "root"
 :db-host "127.0.0.1"
 :db-password ""}
$ lein run

Request URL - http://localhost:3000

Deploy in Docker

.lein-env

{:db-host "db"}
$ docker-compose build && docker-compose up

Request URL - http://localhost:80

API Docs

http://localhost:3000/docs #swagger-ui