Skip to content

codeofmario/rust-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Architecture of a Rust Rest API with JWT Authentication

TECH STACK

  • Rust
  • Axum
  • Sqlx
  • Posgresql
  • Redis
  • Minio/S3

START PROJECT

create environment variables file

rename .env.example file into .env

run docker compose

sudo docker-compose up -d

run migrations

sqlx migrate run --database-url postgres://rustblog:rustblog@localhost:8100/rustblog

run server

cargo run

Visit the Swagger docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published