1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
Actix web examples
Go to file
Jonathas-Conceicao 024c5e7597 jsonrpc: Fix AppState extraction
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-03-27 21:57:31 -03:00
async_db update rusqlite and r2d2_sqlite in async_db and r2d2 (#148) 2020-01-30 15:52:10 +09:00
async_ex1 Remove unused deps found with https://github.com/est31/cargo-udeps (#232) 2020-01-13 00:25:52 +09:00
async_ex2 Remove unused deps found with https://github.com/est31/cargo-udeps (#232) 2020-01-13 00:25:52 +09:00
async_pg updated versioning for async_pg dependency 2020-03-02 08:48:31 -05:00
awc_https Update awc_https/src/main.rs 2020-03-01 13:16:57 -05:00
basics resolved formatting 2020-01-31 07:21:39 -05:00
casbin Add a basic casbin example for actix-web. (#264) 2020-03-03 15:13:43 +09:00
cookie-auth update deps 2019-12-25 20:48:33 +04:00
cookie-session update deps 2019-12-25 20:48:33 +04:00
diesel improve diesel example (#241) 2020-01-27 21:20:04 +09:00
docker_sample Add docker_sample to examples collection 2020-02-24 15:08:04 -03:00
error_handling update deps 2019-12-25 20:48:33 +04:00
form Remove serde_derive https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084 2020-01-12 14:04:02 +01:00
graphql-demo Fix directory names on READMEs (#220) 2019-12-26 19:37:34 +09:00
hello-world update deps 2019-12-25 20:48:33 +04:00
http-proxy update deps 2019-12-25 20:48:33 +04:00
json Remove serde_derive https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084 2020-01-12 14:04:02 +01:00
json_decode_error New example: Return JSON decode errors to a client (#268) 2020-03-16 03:21:13 +09:00
json_error update deps 2019-12-25 20:48:33 +04:00
jsonrpc jsonrpc: Fix AppState extraction 2020-03-27 21:57:31 -03:00
juniper Update juniper example (#233) 2020-01-13 01:14:08 +09:00
middleware resolved formatting 2020-01-31 07:21:39 -05:00
multipart Fixed possible panic in multipart example (#276) 2020-03-22 08:31:45 +09:00
multipart-async-std Fixed possible panic in multipart example (#276) 2020-03-22 08:31:45 +09:00
multipart-s3 add AWS_REGION env variable and add _ prefix (#270) 2020-03-20 09:21:58 +09:00
openssl Fix directory names on READMEs (#220) 2019-12-26 19:37:34 +09:00
protobuf Update protobuf to actix-web 2.0.0 (#249) 2020-02-07 02:17:23 +09:00
r2d2 update rusqlite and r2d2_sqlite in async_db and r2d2 (#148) 2020-01-30 15:52:10 +09:00
redis Remove serde_derive https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084 2020-01-12 14:04:02 +01:00
redis-session added awc ssl example 2020-03-01 08:55:00 -05:00
run-in-thread update deps 2019-12-25 20:48:33 +04:00
rustls update deps 2019-12-25 20:48:33 +04:00
server-sent-events update deps 2019-12-25 20:48:33 +04:00
shutdown-server removed control-C handling because actix-server natively supports it 2020-02-12 07:53:01 -05:00
simple-auth-server Use derive feature from serde https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084 (#230) 2020-01-12 21:11:12 +09:00
state Also demonstrate how to pass shared counters via Atomic (#242) 2020-01-28 09:41:45 +09:00
static_index update deps 2019-12-25 20:48:33 +04:00
template_askama Remove unused deps found with https://github.com/est31/cargo-udeps (#232) 2020-01-13 00:25:52 +09:00
template_handlebars update deps 2019-12-25 20:48:33 +04:00
template_tera update deps 2019-12-25 20:48:33 +04:00
template_yarte Update yarte version to 0.7 2020-03-16 12:04:11 +01:00
todo Fix templates path (#248) 2020-02-04 01:42:29 +09:00
udp-echo code review fixes 2019-02-22 15:00:58 +05:00
unix-socket update deps 2019-12-25 20:48:33 +04:00
web-cors Remove unused deps found with https://github.com/est31/cargo-udeps (#232) 2020-01-13 00:25:52 +09:00
websocket simplify websokcet client example with BoxedSocket (#166) 2020-01-06 13:59:45 +09:00
websocket-chat update deps 2019-12-25 20:48:33 +04:00
websocket-chat-broker update dependencies 2019-12-20 22:30:26 +06:00
websocket-tcp-chat Arbiter::exec to start TcpServer will not work, simply call it (#118) 2020-01-27 23:17:14 +09:00
.gitignore Ignore example's png 2019-08-11 01:13:02 +09:00
.travis.yml Run all tests regardless of prior failures. 2019-09-29 18:02:38 +03:00
Cargo.toml New example: Return JSON decode errors to a client (#268) 2020-03-16 03:21:13 +09:00
LICENSE Initial commit 2018-04-12 17:07:42 -07:00
README.md Add Casbin example to README 2020-03-07 12:38:54 +08:00
rustfmt.toml port more examples 2019-03-09 22:38:15 -08:00

Actix examples Build Status Join the chat at https://gitter.im/actix/actix

A curated list of examples related to actix.

from community

  • kriry.com : Explore-Interactive net. source
  • Roseline : A personal web site and discord & IRC bot to access simple SQLite database. Demonstrates usage of various actix and actix-web concepts.
  • Actix Auth Server : Auth web micro-service with rust using actix-web - complete tutorial. See code in examples/simple-auth-server
  • Casbin-RS : An authorization library that supports access control models like ACL, RBAC, ABAC in Rust. See code in examples/casbin
  • actix-raft : An implementation of the Raft consensus protocol using the actix Actor framework.
  • lemmy : A federated alternative to reddit in rust.
  • actix-realworld-example-app : Implementation of the RealWorld backend API spec in Actix.
  • Canduma : rust authentication server boilerplate
  • Broker : Real-time Zero-Code API Server
  • Rust, Docker & GraphQL: An example of using Dataloaders, context, and a minimal docker container.
  • Complete Actix 2.x REST Server: Actix 2.x HTTP Server featuring multi-database support, auth/JWTs, caching, static files, app state, tests, coverage, and docker.

Contribute

Welcome to contribute !