Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearddan2000/dev-rust-cli-api-cargo-rocket-diesel-mysql-simple
A rust REST Api for rocket web framework that
https://github.com/bearddan2000/dev-rust-cli-api-cargo-rocket-diesel-mysql-simple
api cargo cli connector dev diesel mysql rocket rust simple
Last synced: about 1 month ago
JSON representation
A rust REST Api for rocket web framework that
- Host: GitHub
- URL: https://github.com/bearddan2000/dev-rust-cli-api-cargo-rocket-diesel-mysql-simple
- Owner: bearddan2000
- Created: 2023-11-26T02:56:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T02:56:45.000Z (about 1 year ago)
- Last Synced: 2024-10-31T23:06:45.194Z (3 months ago)
- Topics: api, cargo, cli, connector, dev, diesel, mysql, rocket, rust, simple
- Language: Rust
- Homepage: https://github.com/bearddan2000/dev-rust-cli-api-cargo-rocket-diesel-mysql-simple
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dev-rust-cli-api-cargo-rocket-diesel-mysql-simple
## Description
A rust REST Api for rocket web framework that
calls mysql through diesel.## Tech stack
- rust
- cargo
- rocket
- diesel
- mysql connector## Docker stack
- rust:1.43
- mariadb:latest## To run
`sudo ./install.sh -u`
- GET : `curl -i localhost/dogs## To stop (optional)
`sudo ./install.sh -d`## For help
`sudo ./install.sh -h`## Credits
- [Rocket example](https://blog.logrocket.com/rust-web-apps-using-rocket-framework/)
- [Diesel example](https://github.com/kayrules/rust-rocket-mysql-starter/tree/master)