❗ (2021/05/13) This codebase is currently unmaintained, and I am not interested in maintaining it. This relies on an old version of Actix -- developers who want to learn Actix should probably read the latest docs at the Actix website.
This codebase was created to demonstrate a fully fledged fullstack application built with Actix including CRUD operations, authentication, routing, pagination, and more. CORS, however, is not yet added.
This implementation is not reviewed. See the Contributing section below.
For more information on how this works with other frontends, head over to the RealWorld repo.
You can view a full list of crates being used in Cargo.toml, but here are some of the main ones of note:
cp) .env.example to
.envwithin this directory, and change the environment variables accordingly to your system.
diesel database setup. Make sure it has completed successfully.
cargo build. You are welcome to compile with
--releaseif you'd like.
BIND_ADDRESSvalue is in
/apipath included e.g.
https://127.0.0.1:3000/api. Set it as such in your REST client (Postman, Insomnia, etc.), import the postman collection and start testing it out!
Feel free to take a look at the current issues in this repo for anything that currently needs to be worked on.
You are also welcome to open a new issue if you see something is missing or could be improved upon.