Posit-sh was supposed to be a place for people to upload their summaries, notes and knowledge in a similar way they do it in real life with paper "posits". I left this project in favor of other responsabilities, but I would like to make this repository public and open-source for anybody that's learning Rust and wants to see how a REST API with Actix can look like.
- User authentication (JWT)
- User resources' protected by ID validation
- CRUD endpoints for Posits (kind of posts)
- PostgreSQL database accesible with SQLx
- Before running anything, populate and
.env
file with the structure detailed in.env.example
. - With
docker-engine
anddocker-compose
installed, rundocker-compose up -d
in the root directory. - Then, you can run the API with
cargo run
orcargo-watch
, if you have installed it.