Skip to content

mingqianye/apiduck

Repository files navigation

apiduck

A re-frame application designed to ... well, that part is up to you.

Development Mode

Compile css:

Compile css file once.

lein garden once

Automatically recompile css file on change.

lein garden auto

Run application:

lein clean
lein figwheel dev

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449.

Production Build

lein clean
lein uberjar

That should compile the clojurescript code first, and then create the standalone jar.

When you run the jar you can set the port the ring server will use by setting the environment variable PORT. If it's not set, it will run on port 3000 by default.

To deploy to heroku, first create your app:

heroku create

Then deploy the application:

git push heroku master

To compile clojurescript to javascript:

lein clean
lein cljsbuild once min

Run in Production

docker-compose build
docker-compose up

Open browser and go to http://ip:3000

Introduction

  1. Entity relations: User --has many--> projects --has many--> modules --has many --> endpoints

About

api documentation tool written in clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published