1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
Commit Graph

607 Commits

Author SHA1 Message Date
Rob Ede
d745c26c89
tweak readme wording 2020-10-14 17:55:02 +01:00
Rob Ede
b0fdb54996
split showcase into live projects and boilerplates 2020-10-14 17:53:51 +01:00
Rob Ede
a2ba4b61f1
add webapp.rs to community examples 2020-10-14 17:41:36 +01:00
Sunli
66d27bbe61
Update async-graphql-demo for async-graphql v2.0.0 (#378) 2020-10-13 16:45:19 +09:00
Mufeed VH
0e9203d319
Added binserve to community examples (#377) 2020-10-12 22:18:14 +01:00
sjmdsky
412e9c7bcb
Fix Path derefs (#375) 2020-10-04 16:51:42 +01:00
Nicolas Mazzon
323fc66f17
Minor typo within example (#374) 2020-10-04 01:31:58 +09:00
Yuki Okushi
cd62e1301f
web-cors: Update actix-cors to 0.4 (#373) 2020-10-03 07:51:05 +09:00
Scott Xu
60c9b68c26
fix version mismatch of "@vue/cli-service" (#372) 2020-10-02 19:41:28 +09:00
kczimm
bcb02965d2
add Cors to get juniper example to work. (#371) 2020-09-27 21:05:17 +01:00
Emmanuel Keller
95319754a1
Removing namespace usage for clarity (#369) 2020-09-20 18:24:14 +01:00
Yuki Okushi
b727e796b9
Correct some items' name to fix the build (#370) 2020-09-20 06:17:56 +09:00
Roman Frołow
a1f2f9514e
async-graphql-demo: move README.md up (#368) 2020-09-17 00:01:41 +01:00
Sunli
e5f64562b1
Add async-graphql example (#278) 2020-09-16 01:12:41 +01:00
Rob Ede
d836b046c9
migrate ci to github actions (#367) 2020-09-16 01:11:49 +01:00
mattn
e3c6a1ec07
Escape HTML (#366) 2020-09-14 17:02:57 +01:00
Rob Ede
49e29a5751
v3 examples (#364) 2020-09-12 16:49:45 +01:00
Mufeed VH
3f2b2708c3
Update the examples list (#365) 2020-09-12 15:01:07 +09:00
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
Hanif Ariffin
adccbe2a13
Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
Carlos Tuñón
ec6e14aacc
Fix find_user_by_uid's doc comment (#360)
The previous doc comment was referring to the insert_new_user function
2020-09-03 10:01:16 +01:00
Shane Witbeck
3cebb01309
Fix for build failure in diesel example (#355) 2020-08-23 12:15:52 +01:00
Justin Walters
bd2a0bb8fd
fix db error messages (#353)
Make the error messages for failed Database operations specific to their operation.
2020-08-22 04:30:08 +01:00
Jorge Carrasco
5b98f85afd
add example from community about image processing (#352) 2020-08-21 03:17:25 +09:00
Simon Strandgaard
a3faea082b
Corrected mismatch between html start tag and html end tag. (#349) 2020-08-06 05:08:54 +09:00
Rob Ede
4f29102071
Merge pull request #346 from fiji-flo/patch-1
Fix typo in form example html
2020-07-29 14:49:12 +01:00
Florian Merz
5904258215
Fix typo in form example html
Fix doctype in form.html
2020-07-29 15:19:18 +02:00
Yuki Okushi
7d80c4c3d9
Merge pull request #341 from ReTWi/patch-1
Example tip for key.pem to work
2020-07-19 16:36:37 +09:00
Max
7ac0b75fc7
Tip for key to work
For some reason mkcert default generated sertificate doesn't work. Rust panic on `keys.remove(0)`.
2020-07-19 00:57:15 +03:00
Rob Ede
4ada3c9ed1
Merge pull request #333 from fakeshadow/master 2020-06-28 00:05:25 +01:00
fakeshadow
c7660c8f86 fixes according to reviews
Fix typos. Format the comments. Use macro for routes. etc
2020-06-28 06:15:34 +08:00
Bart Willems
399fbee1e4
send the correct exit code when closing the websocket (#335)
Signed-off-by: Bart Willems <bwillems@protonmail.com>
2020-06-25 05:20:27 +01:00
alvardes
5926035d6c
Update udp-echo example to actix 0.9 and tokio 0.2. (#336) 2020-06-25 05:19:22 +01:00
fakeshadow
1e61a03d5f add example for App::data_factory 2020-06-22 21:16:25 +08:00
Mark Lodato
b7ff0d1ffe
Add bare-bones WS server for autobahn testing (#331) 2020-06-19 20:38:11 +01:00
dyoshikawa
5b3c996774
Fix function name that camel to snake (#332) 2020-06-17 23:33:01 +01:00
Yuki Okushi
22c8eaae87
Merge pull request #326 from jdrouet/clean-docker-sample
update docker sample by caching dependencies
2020-05-29 01:00:28 +09:00
Jérémie Drouet
10887568a0 update docker sample by caching dependencies
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-27 22:01:26 +02:00
Yuki Okushi
e4b94fc9a5
Merge pull request #323 from pfrenssen/error-pages-using-templates
Demonstrate how to access templating engines in app_data() to render HTML error pages
2020-05-20 22:07:13 +09:00
Rob Ede
2d3ee94b05
Merge pull request #324 from foisonocean/remove-diesel-log-env-var 2020-05-20 12:55:10 +01:00
hronro
8973f5bb08 remove diesel=debug in env var 2020-05-20 19:34:41 +08:00
Pieter Frenssen
a790fd7537 Move the README to the root so it can be found easily. 2020-05-20 11:00:17 +03:00
Yuki Okushi
ee7ec592f4
Merge pull request #319 from JohnTitor/cert
Add introduction to use mkcert
2020-05-20 11:00:26 +09:00
Yuki Okushi
4f587e8963
Merge pull request #320 from JohnTitor/dir-traversal
Sanitize filename to prevent directory traversal attack
2020-05-20 11:00:03 +09:00
Yuki Okushi
1cc8732b08
Merge pull request #321 from JohnTitor/juniper
Rename `graphql-demo` to `juniper-advanced`
2020-05-20 10:59:49 +09:00
Pieter Frenssen
986614d698 Demonstrate how to render error pages using templates. 2020-05-19 18:21:39 +03:00
Yuki Okushi
3730fa8f55
Rename graphql-demo to juniper-advanced 2020-05-19 14:23:28 +09:00
Yuki Okushi
7823473f8d
Sanitize filename 2020-05-19 13:48:49 +09:00
Yuki Okushi
b61f7a5e96
Add introduction to use mkcert 2020-05-19 12:46:00 +09:00
Pieter Frenssen
bc6f614f78
Improve the static files example. (#317)
* Improve the static files example.

* Replace the broken websocket example with a simple static HTML page.
* Show how to serve a second directory which is located inside the main
  directory but has file listing enabled.
* Demonstrate that a hierarchy of static files can be served by placing the
  JS and CSS files in their respective subfolders.
* Document how to use the example in the README.

* Improve formatting.
2020-05-18 07:28:47 +09:00