1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
Actix web examples
Go to file
Robert Gabriel Jakabosky 20d7af6c27
Improve json_decode_error example. (#363)
* Improve json_decode_error example.

* Remove 'Per-type' JsonConfig.
2020-09-11 08:31:34 +01:00
async_data_factory fixes according to reviews 2020-06-28 06:15:34 +08:00
async_db part1: Update dependencies 2020-04-05 02:30:49 +09:00
async_ex1 part1: Update dependencies 2020-04-05 02:30:49 +09:00
async_ex2 part1: Update dependencies 2020-04-05 02:30:49 +09:00
async_pg Run rustfmt 2020-04-03 16:16:17 +09:00
awc_https Run rustfmt 2020-04-03 16:16:17 +09:00
basics part1: Update dependencies 2020-04-05 02:30:49 +09:00
casbin Update dependencies for casbin example. (#300) 2020-04-20 07:52:00 +09:00
cookie-auth Demonstrate how to use random keys for sessions. 2020-04-13 12:36:52 +03:00
cookie-session part1: Update dependencies 2020-04-05 02:30:49 +09:00
diesel Fix find_user_by_uid's doc comment (#360) 2020-09-03 10:01:16 +01:00
docker_sample update docker sample by caching dependencies 2020-05-27 22:01:26 +02:00
error_handling part1: Update dependencies 2020-04-05 02:30:49 +09:00
form Fix typo in form example html 2020-07-29 15:19:18 +02:00
hello-world part2: Update dependencies 2020-04-05 13:50:44 +09:00
http-proxy part2: Update dependencies 2020-04-05 13:50:44 +09:00
json part2: Update dependencies 2020-04-05 13:50:44 +09:00
json_decode_error Improve json_decode_error example. (#363) 2020-09-11 08:31:34 +01:00
json_error update deps 2019-12-25 20:48:33 +04:00
jsonrpc part2: Update dependencies 2020-04-05 13:50:44 +09:00
juniper Fix function name that camel to snake (#332) 2020-06-17 23:33:01 +01:00
juniper-advanced Rename graphql-demo to juniper-advanced 2020-05-19 14:23:28 +09:00
middleware part2: Update dependencies 2020-04-05 13:50:44 +09:00
multipart Corrected mismatch between html start tag and html end tag. (#349) 2020-08-06 05:08:54 +09:00
multipart-async-std Corrected mismatch between html start tag and html end tag. (#349) 2020-08-06 05:08:54 +09:00
multipart-s3 Sanitize filename 2020-05-19 13:48:49 +09:00
openssl Add introduction to use mkcert 2020-05-19 12:46:00 +09:00
protobuf Update protobuf to actix-web 2.0.0 (#249) 2020-02-07 02:17:23 +09:00
r2d2 part1: Update dependencies 2020-04-05 02:30:49 +09:00
redis part2: Update dependencies 2020-04-05 13:50:44 +09:00
redis-session Demonstrate how to use random keys for sessions. 2020-04-13 12:36:52 +03:00
run-in-thread part2: Update dependencies 2020-04-05 13:50:44 +09:00
rustls Tip for key to work 2020-07-19 00:57:15 +03:00
server-sent-events part2: Update dependencies 2020-04-05 13:50:44 +09:00
shutdown-server Remove unused variable _stopper 2020-04-16 19:16:41 +08:00
simple-auth-server Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
sqlx_todo Simple Todo API using actix-web and sqlx with postgresql database (#303) 2020-04-23 17:03:04 +09:00
state part3: Update dependencies 2020-04-08 01:18:52 +09:00
static_index Improve the static files example. (#317) 2020-05-18 07:28:47 +09:00
template_askama part3: Update dependencies 2020-04-08 01:18:52 +09:00
template_handlebars Move the README to the root so it can be found easily. 2020-05-20 11:00:17 +03:00
template_tera Demonstrate how to render error pages using templates. 2020-05-19 18:21:39 +03:00
template_tinytemplate Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
template_yarte Update yarte version to 0.8 2020-04-28 21:18:18 +02:00
todo fix db error messages (#353) 2020-08-22 04:30:08 +01:00
udp-echo Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
unix-socket part3: Update dependencies 2020-04-08 01:18:52 +09:00
web-cors part3: Update dependencies 2020-04-08 01:18:52 +09:00
websocket send the correct exit code when closing the websocket (#335) 2020-06-25 05:20:27 +01:00
websocket-autobahn send the correct exit code when closing the websocket (#335) 2020-06-25 05:20:27 +01:00
websocket-chat send the correct exit code when closing the websocket (#335) 2020-06-25 05:20:27 +01:00
websocket-chat-broker send the correct exit code when closing the websocket (#335) 2020-06-25 05:20:27 +01:00
websocket-tcp-chat send the correct exit code when closing the websocket (#335) 2020-06-25 05:20:27 +01:00
.gitignore Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
.travis.yml Tweak CI config 2020-04-30 15:43:41 +09:00
Cargo.toml Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
LICENSE Initial commit 2018-04-12 17:07:42 -07:00
README.md add example from community about image processing (#352) 2020-08-21 03:17:25 +09: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

  • 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.
  • Actix Server Authentication with JWT and MongoDB : An implementation of JWT in Actix.
  • MeiliSearch: Fast, Relevant and Typo-Tolerant Search Engine. Open source alternative to Algolia.
  • Dalted: Simple webapp that showcases the integration of image-rs with actix for color blindness simulations.

Contribute

Welcome to contribute !