Rocket/examples/todo
Sergio Benitez a115eaa633 Add 'serve::crate_relative!' for relative paths.
The macro generates crate-relative paths for easier serving of files
stored relative to the crate root.
2020-07-23 20:12:17 -07:00
..
db Add file to preserve empty db directory. 2018-05-29 18:55:25 +02:00
migrations Update docs and examples for diesel 1.0.0-rc1. 2018-01-03 01:38:05 -08:00
src Add 'serve::crate_relative!' for relative paths. 2020-07-23 20:12:17 -07:00
static Fix tests for Windows. 2019-07-06 00:59:01 -07:00
Cargo.toml Use 'serde' 'derive' feature, not 'serde_derive'. 2020-07-22 12:28:18 -07:00
README.md Embed the diesel database migrations in the `todo` example. 2018-09-11 12:38:10 -07:00
Rocket.toml Implement connection pooling support in contrib. 2018-08-15 22:11:53 -07:00

README.md

Rocket Todo Example

This example makes use of a SQLite database via diesel to store todo tasks. As a result, you'll need to have sqlite3 and its headers installed:

  • OS X: brew install sqlite
  • Debian/Ubuntu: apt-get install libsqlite3-dev
  • Arch: pacman -S sqlite