https://github.com/jcserv/rust-api-template
This template can be used to quickly bootstrap a Rust API server
https://github.com/jcserv/rust-api-template
api postgresql rust sqlx template
Last synced: 2 months ago
JSON representation
This template can be used to quickly bootstrap a Rust API server
- Host: GitHub
- URL: https://github.com/jcserv/rust-api-template
- Owner: jcserv
- License: gpl-3.0
- Created: 2025-01-16T22:12:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T02:00:54.000Z (over 1 year ago)
- Last Synced: 2025-07-31T07:44:55.131Z (about 1 year ago)
- Topics: api, postgresql, rust, sqlx, template
- Language: Rust
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rust-api-template

This template can be used to quickly bootstrap a Rust API server.
## getting started
1. Click the green "Use this template" button on the top of this page.
2. Replace all instances of `rust-api-template` with your project name.
3. Configure a .env file, based on the .env.example file.
4. Run the service with `make dev-db` and `make run`.
## prerequisites
- [cargo](https://github.com/rust-lang/cargo)
- [rustup](https://rustup.rs/)
## references
- [Actix Web Docs](https://actix.rs/docs/getting-started/)
- [Build a CRUD API with Sqlx and PostgreSQL](https://codevoweb.com/rust-build-a-crud-api-with-sqlx-and-postgresql/)