curl http://localhost:18080/users Return all users
curl http://localhost:18080/users/1 Return the user with ID 1
curl -H 'Content-type: application/json' http://localhost:18080/users -d '{"name":"new user"}' Add a new user
Testing
make test Run all tests. Use the TAGS argument to pass specific tags (e.g. make TAGS=api test)
Migrations
All database migrations should be backward compatible, so only the up ones are needed.
The migrations library supports the down ones though, in case you want to play with fire :)