[UNMAINTAINED] Implementation of the RealWorld backend API spec in Actix, Rust's powerful actor system and most fun web framework.
Actix codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
❗ (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.
This is an application written in Rust that utilizes Actix for developing the backend web service that powers the RealWorld application.
You can view a full list of crates being used in Cargo.toml, but here are some of the main ones of note:
postgres
feature enabled.cp
) .env.example to .env
within 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 --release
if you'd like.cargo run
.BIND_ADDRESS
value is in .env
with the /api
path 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.