rust-actix-example
rust-actix-example copied to clipboard
Example Actix 2.x REST application implementing many features
On the up.sql script that is used as a first migration. This: `created_at TIMESTAMP NOT NULL DEFAULT NOW(),` fails when using sqlite as a database. One way to solve it...
### ENV Ubuntu 18.04 in VMware ```shell $ rustc --version rustc 1.42.0 (b8cedc004 2020-03-09) ``` ### steps follow the README.md: 1. install postgres 2. install diesel_cli(to make it succeed, I...
i have installed demo and try to access: http://127.0.0.1:3000/user however, i got this: `The system cannot find the file specified. (os error 2)` Also, tried: http://127.0.0.1:3000/user/00000000-0000-0000-0000-000000000000 and get this `[2020-04-30T05:49:58Z...
Hi, How to set up the Web API Doc? Do we have an example for it? Thanks.
thread 'main' panicked at 'Configuration Error: Custom( "invalid digit found in string while parsing value \'short\' provided by RUST_BACKTRACE", )', src/config.rs:43:23 ``` stack backtrace: 0: backtrace::backtrace::libunwind::trace at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88 1: backtrace::backtrace::trace_unsynchronized...
Add salt column to user table and generate a random salt on user add. For password hashing combine the generated salt and env variable salt. This adds extra protection against...
for new VM build
Hi, I am trying out the example inside a relative new VM (ubuntu16.04). The `cargo test` report a linker error at the end. ``` = note: /usr/bin/x86_64-linux-gnu-ld: cannot find -lsqlite3...
Docker build does not work out of the box, fails with the message > #0 1490.7 = note: /usr/bin/ld: cannot find -lsqlite3 #0 1490.7 /usr/bin/ld: cannot find -lmysqlclient #0 1490.7...