Skip to content
/ core Public

Base functionality for Erinite application framework

License

Notifications You must be signed in to change notification settings

Erinite/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base functionality for Erinite application framework.

Erinite is a convenience layer on top of the excellent Duct framework and is designed to support rapid application developement.

Getting Started

The easiest way to get started is to install erinite/cli and run:

erin new <project-name>

You can then add modules, boundaries and services. For example:

cd <project-name>
erin add module --database sql
erin add boundary accounts --sql
erin add service accounts --with-boundary --db

You now have a project set up for SQL, with an accounts boundary and an accounts service:

src/<project-name>/boundaries/accounts.clj
src/<project-name>/boundaries/db/accounts.clj
src/<project-name>/boundaries/db/accounts.sql
src/<project-name>/services/accounts/core.clj
src/<project-name>/services/accounts/spec.clj

Be sure to edit resources/config.edn and dev/resources/dev.edn to setup your database connection.

License

Copyright © 2019 Dan Kersten

Erinite is released under the terms of the MIT License.

Releases

No releases published

Packages

No packages published