Back-end written with Rust for FinControl App
Tech Stack:
- Axum as a freamwork
- Auth0 as authorization service
- Prisma as an ORM
- CockroachDB as a primary DB
- Redis as DB for caching
- tower_http and Tracing as a logger
- Install Docker Desktop
- Install Rust
Create .env
file in the root of the project with the content from .env.example
file.
Run this commands to prepare the project:
```bash
# generate Prisma Client
cargo run prisma generate
# run Docker infrastructure
docker compose up
Run this if you use local DB instance from docker-compose:
cargo run prisma migrate deploy
Then run
cargo run