Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/graysonarts/axum-sqlx-postgres-starter
A cargo-generate project for a basic axum server using sqlx with postgres
https://github.com/graysonarts/axum-sqlx-postgres-starter
cargo-generate
Last synced: about 2 months ago
JSON representation
A cargo-generate project for a basic axum server using sqlx with postgres
- Host: GitHub
- URL: https://github.com/graysonarts/axum-sqlx-postgres-starter
- Owner: graysonarts
- Created: 2024-10-29T13:51:42.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T14:04:37.000Z (about 2 months ago)
- Last Synced: 2024-10-29T17:13:09.612Z (about 2 months ago)
- Topics: cargo-generate
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# {{ project-name }}
An opinionated starter project for axum with sqlx, postgres, nanoid, anyhow, tracing output, and EnvConfig for loading configuration.
The structure of the source:
```
src
├── infra // Things necessary to run the service, tracing, config, app state, etc
├── models // Domain models and other types to support what's in the database
├── queries // Wrappers around the database queries that return the domain models
├── migrations // Database migrations
└── routes // Controllers and Subrouters
```