Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 889 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 889 Bytes

rustmvc

Build Status

This is a TodoMVC implementation, using Ember on the front end and Nickel.rs 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:

$ createrole rustmvc
$ createdb rustmvc

When you've got that going...

$ 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