All Projects → fairingrey → Actix Realworld Example App

fairingrey / Actix Realworld Example App

Implementation of the RealWorld backend API spec in Actix, Rust's powerful actor system and most fun web framework.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Actix Realworld Example App

Blockbook
📘 Trezor address/account balance backend
Stars: ✭ 305 (-21.79%)
Mutual labels:  backend
Beeva Best Practices
Best Practices and Style Guides in BEEVA
Stars: ✭ 335 (-14.1%)
Mutual labels:  backend
Conf
Конспекты докладов IT-конференций
Stars: ✭ 365 (-6.41%)
Mutual labels:  backend
Easyadminbundle
EasyAdmin is a fast, beautiful and modern admin generator for Symfony applications.
Stars: ✭ 3,391 (+769.49%)
Mutual labels:  backend
Awesome Cheatsheets
👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
Stars: ✭ 26,007 (+6568.46%)
Mutual labels:  backend
Koa Vue Notes Api
🤓 This is a simple SPA built using Koa as the backend, Vue as the first frontend, and React as the second frontend. Features MySQL integration, user authentication, CRUD note actions, and async/await.
Stars: ✭ 342 (-12.31%)
Mutual labels:  backend
Varharrie.github.io
📘 Personal blog site based on github issues.
Stars: ✭ 3,343 (+757.18%)
Mutual labels:  backend
Parse Server
API server module for Node/Express
Stars: ✭ 19,165 (+4814.1%)
Mutual labels:  backend
Vue Storefront Api
Vue.js storefront for Magento2 (and not only) - data backend
Stars: ✭ 328 (-15.9%)
Mutual labels:  backend
Xbackbone
A lightweight file manager with full ShareX, Screencloud support and more
Stars: ✭ 359 (-7.95%)
Mutual labels:  backend
Djreact
A simple introduction to integrating Django and React.
Stars: ✭ 317 (-18.72%)
Mutual labels:  backend
Kanary
A minimalist web framework for building REST APIs in Kotlin/Java.
Stars: ✭ 319 (-18.21%)
Mutual labels:  backend
Abap2xlsx
Generate your professional Excel spreadsheet from ABAP
Stars: ✭ 346 (-11.28%)
Mutual labels:  backend
Concourse
Distributed database warehouse for transactions, search and analytics across time.
Stars: ✭ 310 (-20.51%)
Mutual labels:  backend
Raxx
Interface for HTTP webservers, frameworks and clients
Stars: ✭ 378 (-3.08%)
Mutual labels:  backend
Libfirm
graph based intermediate representation and backend for optimising compilers
Stars: ✭ 305 (-21.79%)
Mutual labels:  backend
Golang step by step
Golang入门教程的文章、示例代码,喜欢就star,订阅就watch
Stars: ✭ 339 (-13.08%)
Mutual labels:  backend
Para
Open source back-end server for web, mobile and IoT. The backend for busy developers. (self-hosted or hosted)
Stars: ✭ 389 (-0.26%)
Mutual labels:  backend
Web Skills
A visual overview of useful skills to learn as a web developer
Stars: ✭ 5,107 (+1209.49%)
Mutual labels:  backend
Open source bms
Open Source BMS 后台管理系统
Stars: ✭ 351 (-10%)
Mutual labels:  backend

RealWorld Example App

Actix codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with Actix including CRUD operations, authentication, routing, pagination, and more.

This implementation currently needs to be reviewed. See the Contributing section below.

For more information on how this works with other frontends, head over to the RealWorld repo.

How it works

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:

  • Actix - a powerful Actor framework
  • Chrono - a Date and Time library for Rust
  • Failure - a system for creating and managing errors in Rust
  • Futures - Zero-cost Futures in Rust
  • jsonwebtoken - Create and parses JWT (JSON Web Tokens)
  • libreauth - a collection of tools for user authentication
  • Serde - a framework for serializing and deserializing Rust data structures efficiently and generically
  • Uuid - Generate and parse UUIDs
  • validator - Simple validation for Rust structs

Getting started

  • Install Rust
  • Install PostgreSQL if you don't have it already.
  • Install the Diesel CLI with the postgres feature enabled.
  • Clone this repo to a folder on your computer.
  • Copy (cp) .env.example to .env within this directory, and change the environment variables accordingly to your system.
  • Setup your database by running diesel database setup. Make sure it has completed successfully.
  • Build this project with cargo build. You are welcome to compile with --release if you'd like.
  • Run with cargo run.
  • The API URL will be whatever the 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!

Contributing

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].