https://github.com/pepoviola/tide-basic-crud
Basic CRUD api using Rust / Tide / Sqlx / Postgresql
https://github.com/pepoviola/tide-basic-crud
api-rest crud postgresql rust sqlx tera tide
Last synced: 9 months ago
JSON representation
Basic CRUD api using Rust / Tide / Sqlx / Postgresql
- Host: GitHub
- URL: https://github.com/pepoviola/tide-basic-crud
- Owner: pepoviola
- License: mit
- Created: 2020-09-19T15:31:04.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T11:06:20.000Z (about 4 years ago)
- Last Synced: 2025-04-02T16:11:12.223Z (10 months ago)
- Topics: api-rest, crud, postgresql, rust, sqlx, tera, tide
- Language: Rust
- Homepage: https://tide-basic-crud.labs.javierviola.com/
- Size: 63.5 KB
- Stars: 36
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tide-basic-crud
Basic CRUD api using [rust](https://www.rust-lang.org/) and [tide](https://github.com/http-rs/tide) with postgresql.
The code of this repo is also commented/explained in this [post posts](https://javierviola.com/tags/tide/), where you can read from the initial implementation (using in-memory HashMap as db) and follow the progress and refactors made in the code.
### Stack
- Tide
- sqlx
- Tera
### CI/CD
- GH Actions for CI
- I currently using [dokku](https://github.com/dokku/dokku) and you can find the working environment at https://tide-basic-crud.labs.javierviola.com/
---
TODO:
```
[ ] Schema validation
[ ] Move front-end to wasm (localghost/yew)
[ ] Add telemetry
[ ] Better error handling
[ ] Add other resources (entities) and refactor structure.
[ ] Add tutorial on how to run locally
```