Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hjklchan/aksum-std

Web API framework built on Axum by Rust language.
https://github.com/hjklchan/aksum-std

Last synced: about 1 month ago
JSON representation

Web API framework built on Axum by Rust language.

Awesome Lists containing this project

README

        

## Axum - Rust

### Install SQLx CLI
```
cargo install sqlx-cli
```
### Migration Usage
```bash
# Create migration files with up and down
sqlx migrate -r create_xxx_table

# Run or revert migration
sqlx migrate run --database-url=DATABASE_DSN
sqlx migrate revert --database-url=DATABASE_DSN

# Enable building in "offline mode" with query!()
cargo sqlx prepare
```