Skip to content

steveklabnik/rustmvc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

About

TodoMVC, with Rust and Ember

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published