-
-
Save kwrooijen/4118d08b518b9c7894f0d23b9a878699 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:duct.profile/base | |
{:duct.core/project-ns todo | |
:duct.router/ataraxy | |
{:routes {[:get "/"] [:todo.handler/index]}} | |
[:duct.handler.static/ok :todo.handler/index] | |
{:body {:entries "/entries"}} | |
:duct.migrator/ragtime | |
{:migrations [#ig/ref :todo.migration/create-entries]} | |
[:duct.migrator.ragtime/sql :todo.migration/create-entries] | |
{:up ["CREATE TABLE entries (id INTEGER PRIMARY KEY, content TEXT)"] | |
:down ["DROP TABLE entries"]}} | |
:duct.profile/dev #duct/include "dev" | |
:duct.profile/local #duct/include "local" | |
:duct.profile/prod {} | |
:duct.module/logging {} | |
:duct.module.web/api {} | |
:duct.module/sql {}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment