Skip to content

oizhaolei/axum_sea-orm_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axum with SeaORM example app

  1. Modify the DATABASE_URL var in .env to point to your chosen database

  2. Turn on the appropriate database feature for your chosen db in Cargo.toml (the "sqlx-sqlite", line)

  3. Execute JWT_SECRET=secret RUST_LOG=debug cargo run to start the server

  4. Visit localhost:8000 in browser

About

rust, axum, sea-orm, migration, jwt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published