anfegu / Rust-Diesel-PostgreSQL-Rocket

It's an excerpt of a simulated transactional virtual channel of a bank with Rust, Rocket and Diesel Framework and PostgreSQL Database Design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-requisites for DataBase.

  • Install postgresql with "local_user" and "local_user_password"
  • Install diesel_cli: cargo install diesel_cli --no-default-features --features postgres
  • Into ./db-bank modify .env file: DATABASE_URL=postgres://"local_user":"local_user_password"@localhost/db_bank run: diesel setup diesel migration redo or diesel migration run

Pre-requisites for API framework

  • Into ./bank_ground modify Rocket.toml: db_bankbase = {url = "postgres://"local_user":"local_user_password"@localhost/db_bank"} run: rustup override set nightly

About

It's an excerpt of a simulated transactional virtual channel of a bank with Rust, Rocket and Diesel Framework and PostgreSQL Database Design


Languages

Language:Rust 82.1%Language:PLpgSQL 12.6%Language:HTML 5.3%