Skip to content
 
 

Repository files navigation

kosa [m.]: store-room; treasury

Library and Mobile services written in Clojure + Crux.

Mobile App API

The Pariyatti mobile app will consume the API as specified here.

Option 1: Use the Sandbox server

http://kosa-sandbox.pariyatti.org - Use this option if you will working exclusively on the mobile app without modifying or debugging the server.

Option 2: Set up a local development server

Follow the instructions under Development. Use this option if you need to modify or debug the server itself.

Deployment

TODO: Move Ansible deployment from kosa-rails and adjust for Clojure + Crux.

Development

Install Java

Install OpenJDK 11 for:

  • Mac OS
  • Linux: sudo apt-get install openjdk-11-jdk

Install Clojure

Install clojure as described here

Install Leinengen

Install lein as described here

Install NPM

Install npm (nodejs LTS) as described here. Sorry.

Build kosa

git clone git@github.com:pariyatti/kosa.git
cd kosa

make help # see all the build commands
make init # setup your system

make test # run the tests
make run  # run the server
make repl # run the server interactively

To add sample data from a REPL:

dev.repl> (migrate)
dev.repl> (seed)

Once you have run these, close the REPL and restart it or your Crux node will be locked. Migrations work from the command line but seeding does not at the moment.

Design Wireframes

Architectural Thinking

Old RSS Feeds

License and Copyright

AGPL-3 Copyright (c) 2019-present, Pariyatti

About

Library and Mobile services written in Clojure + Crux.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages