Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steveklabnik/rustmvc
TodoMVC, with Rust and Ember
https://github.com/steveklabnik/rustmvc
Last synced: 25 days ago
JSON representation
TodoMVC, with Rust and Ember
- Host: GitHub
- URL: https://github.com/steveklabnik/rustmvc
- Owner: steveklabnik
- Created: 2014-10-23T12:33:24.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T19:18:07.000Z (about 7 years ago)
- Last Synced: 2024-12-01T15:25:23.352Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 525 KB
- Stars: 70
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rustmvc
[![Build Status](https://travis-ci.org/steveklabnik/rustmvc.svg)](https://travis-ci.org/steveklabnik/rustmvc)
This is a [TodoMVC](http://todomvc.com/) implementation, using
[Ember](http://emberjs.com/) on the front end and
[Nickel.rs](https://nickel-org.github.io/) on the back end.In other words: Rust + Ember, sitting in a tree. K I S...
## Getting started
You'll need a postgres instance running on localhost, with a
`rustmvc` user and a `rustmvc` database:```bash
$ createrole rustmvc
$ createdb rustmvc
```When you've got that going...
```bash
$ git clone https://github.com/steveklabnik/rustmvc
$ cd rustmvc
$ cargo build
$ ./target/create_databases # you only need this the first time
$ ./target/rustmvc
$ firefox http://localhost:6767/ # in a different shell, of course
$ curl --data "{\"title\":\"Title ha ha ha\",\"is_completed\":false}" http://localhost:6767/todos
```