Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hjklchan/aksum-std
- Owner: hjklchan
- Created: 2024-05-15T09:19:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-19T03:38:44.000Z (7 months ago)
- Last Synced: 2024-05-20T03:24:13.367Z (7 months ago)
- Language: Rust
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```