atom-crud

0.1.0-SNAPSHOT • Public • Published

atom-crud

CRUD operations for atom-based data stores.

Prerequisites

You will need nodejs and Leiningen 2.0 or above installed.

Installation

Add atom-crud to your lein-npm-powered project:

;; project.clj
:node-dependencies [atom-crud "0.1.0-SNAPSHOT"]

Pull atom-crud to your machine:

lein npm install

Now you should have atom_crud/src/core.cl2 in your node_modules directory. Include it in your ChlorineJs source file(s):

;; some-file.cl2
(load-file "atom_crud/src/core.cl2")

Develope atom-crud

Live coding

Have your files watched and auto-compiled:

lein cl2c auto dev

This will watch for changes and re-compile *.cl2 files to Javascript.

Now open an other terminal, have mocha run the tests automatically:

lein npm run-script mocha-auto

Unit tests

If you just want to run the tests once:

lein npm run-script mocha

Usage

See unit tests for usage.

License

Copyright © 2014 Hoang Minh Thang

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Readme

Keywords

none

Package Sidebar

Install

npm i atom-crud

Weekly Downloads

2

Version

0.1.0-SNAPSHOT

License

none

Last publish

Collaborators

  • myguidingstar