Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sungwoncho/lotus-todo

A todo application using Lotus and AngularJS
https://github.com/sungwoncho/lotus-todo

Last synced: 15 days ago
JSON representation

A todo application using Lotus and AngularJS

Awesome Lists containing this project

README

        

# Lotus-Todo

A todo application built with [Lotus](https://github.com/lotus/lotus) and [AngularJS](https://github.com/angular/angular.js).

## Why?

* To demonstrate how Lotus can decouple a monolithic application into multiple, modular applications.
* To showcase how to use AngularJS with Lotus.

## Architecture

Lotus-Todo is divided into two micro applications: `apps/api` and `apps/web`. `apps/api` is a pure Lotus application that handles backend. `apps/web` is an angular application that handles the frontend.

The core of the application lives in `lib/` (database mappings, interactors, etc.). `apps/api` and `apps/web` both rely on this core.

## Run locally

```ruby
bundle install
rake db:migrate

# Run the server
bundle exec lotus server
```

Visit http://localhost:2300/ after you run the server.

## Tests

Run `rake spec`.

## Contribution

Feel free to open pull requests.

### TODOS

* Pagination
* Record created_at and order by created_at
* Length validation
* Improved CSS

## License

MIT License.