This is the REST API for the finance fusion app, made with rust 🚀.
- Rust
git clone https://github.com/HamzaAlsarakbi/finance-fusion
cd finance-fusion
cargo build
cargo run
- Unit Tests
- Jenkins pipeline for CI/CD
- Update the
up.sql
anddown.sql
- Run
diesel migration redo
- Run
diesel print-schema > src/database/schema.rs
- Run
diesel migration generate [schema update name]
- Update the
up.sql
anddown.sql
- Run
diesel migration run
- Run
diesel print-schema > src/database/schema.rs
-
Login to the postgress session with
psql -U postgres -d finance_fusion
-
Print the tables with
\dt
-
Run any command you wish
Example:
DROP TABLE IF EXISTS users CASCADE;