Skip to content

zys864/realworld-axum-sqlx

 
 

Repository files navigation

Developing !!! currently,only users api work

RealWorld demo : Rust + Axum + Sqlx + Postgres

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

Cargo build

docker run -d --name postgres-14 -p 5432:5432 -e POSTGRES_PASSWORD=password postgres:14

Change postgres database url in .env file

Run cargo install sqlx-cli if not install it

run sqlx command to migration database model then build the project

    sqlx database create 
    sqlx migrate run
    cargo run --release

Docker

developing

About

RealWorld framework rust+axum+sqlx implementations

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 91.6%
  • PLpgSQL 7.1%
  • Other 1.3%