ashez2000 / askly

Toy CRUD api for QnA service written in Rust with warp and sqlx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

askly

simple CRUD api for QnA service written in rust

Tech used

  • warp (web framework)
  • sqlx (db interface)
  • shuttle (cloud platform for easy deployment)

Run locally (without shuttle)

Rust and postgresql is required to run locally

# setup env vars
cp .env.example .env

cargo run --bin http

Run locally (with shuttle)

cargo-shuttle is required (refer shuttle.rs docs)

# setup env vars
cp .env.example Secrets.toml

cargo shuttle run

About

Toy CRUD api for QnA service written in Rust with warp and sqlx

License:MIT License


Languages

Language:Rust 100.0%