Git Product home page Git Product logo

legion's Introduction

Aurelia Legion

This is a project to maintain membership records for a branch of the Royal Canadian Legion. It is written for an early version of Aurelia.

Local branch membership data is held in PouchDB within the user's browser.

Data for Dominion Command or Zone Command is held remotely on Cloudant and replicated to the user's browser at startup. This data includes names and addresses of all branches and yearly zone command subscription rates.

Development

For development I prefer to use pouchdb-server rather than the browser implementation of PouchDB. Amongst other things, i's easier to clear out a database.

npm install -g pouchdb-server

Then run it inside an empty directory, e.g. data:

pouchdb-server -p 15984

You can view the contents at:

http://127.0.0.1:15984/_utils

Installation

cd branch

npm install

jspm install

gulp watch

Then navigate to http://localhost:9000 or whichever URL gulp suggests.

Tests

In addition to Aurelia unit tests and end-to-end tests, a separate directory test holds command line unit tests for the bulk of the models.

cd test

npm install

jspm install

npm test

UI

UI mockups developed with Pinegrow are located in the mockups directory.

CouchDB

The directory couchdb holds dumps of the Cloudant databases.

Produced using couchdb-dump.

CouchDB Best Practices is followed for naming IDs of documents.

Todo

  • Replicate local data from PouchDB to Cloudant as 1) backup and/or 2) to centralize data.
  • Encrypt data, perhaps using crypto-pouch.
  • Extract PouchDB into a plugin?
  • Convert to TypeScript.
  • Upgrade to latest Aurelia release
  • Move template-branch design documents into code
  • Admin frontend for maintaining Cloudant databases.

legion's People

Contributors

fastzen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.