The standalone API server for StarTracker Native app.
cargo install cargo-watch
cargo watch -w src -x run
cargo binstall diesel_cli
# Run diesel migration on a LOCAL instances to setup DB.
# Any new migrations also need to have revert option inside donw.sql
diesel migration run
# Add tests are defined in tests/ directory.
cargo test
- Setup diesel CLI, find at https://diesel.rs
- Don't edit
schema.rs
file. It is autogenerated bydiesel setup
- Change binding from 0.0.0.0 to 127.0.0.1 for local dev.