Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T11:06:20.000Z (about 3 years ago)
- Last Synced: 2023-03-12T02:33:21.740Z (almost 2 years 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: 31
- Watchers: 3
- Forks: 5
- 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
```