This is an example implementation of restful api built using Rust language and Actix-Web framework.
- Postgresql
- Diesel (ORM)
- Actix Web (Framework)
cargo update
Copy the example configuration at .env.example
to .env
and adjust it into your local config values
The migration tools is using diesel_cli
, so you'll need to install it first by
cargo install diesel_cli
diesel migration
diesel migration generate <your-migration-name>
diesel migration run
diesel migration redo