├── .env.example ├── .gitignore ├── .gitpod.Dockerfile ├── .gitpod.yml ├── .travis.yml ├── Cargo.lock ├── Cargo.toml ├── README.md ├── diesel.toml ├── logo.png ├── migrations ├── .gitkeep ├── 00000000000000_diesel_initial_setup │ ├── down.sql │ └── up.sql ├── 2019-03-06-144033_create_users │ ├── down.sql │ └── up.sql ├── 2019-03-06-144624_create_followers │ ├── down.sql │ └── up.sql ├── 2019-03-06-145146_create_articles │ ├── down.sql │ └── up.sql ├── 2019-03-06-152302_create_comments │ ├── down.sql │ └── up.sql └── 2019-03-06-152831_create_article_tags │ ├── down.sql │ └── up.sql └── src ├── app ├── articles │ ├── comments.rs │ └── mod.rs ├── mod.rs ├── profiles.rs ├── tags.rs └── users.rs ├── db ├── articles.rs ├── auth.rs ├── comments.rs ├── mod.rs ├── profiles.rs ├── tags.rs └── users.rs ├── error.rs ├── main.rs ├── models ├── article.rs ├── article_tag.rs ├── comment.rs ├── follower.rs ├── mod.rs └── user.rs ├── prelude.rs ├── schema.rs └── utils ├── auth.rs ├── custom_type.rs ├── hasher.rs ├── jwt.rs └── mod.rs /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitpod.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/.gitpod.Dockerfile -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/.gitpod.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/.travis.yml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/README.md -------------------------------------------------------------------------------- /diesel.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/diesel.toml -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/logo.png -------------------------------------------------------------------------------- /migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/00000000000000_diesel_initial_setup/down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/00000000000000_diesel_initial_setup/down.sql -------------------------------------------------------------------------------- /migrations/00000000000000_diesel_initial_setup/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/00000000000000_diesel_initial_setup/up.sql -------------------------------------------------------------------------------- /migrations/2019-03-06-144033_create_users/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE users; 3 | -------------------------------------------------------------------------------- /migrations/2019-03-06-144033_create_users/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/2019-03-06-144033_create_users/up.sql -------------------------------------------------------------------------------- /migrations/2019-03-06-144624_create_followers/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE followers; 3 | -------------------------------------------------------------------------------- /migrations/2019-03-06-144624_create_followers/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/2019-03-06-144624_create_followers/up.sql -------------------------------------------------------------------------------- /migrations/2019-03-06-145146_create_articles/down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/2019-03-06-145146_create_articles/down.sql -------------------------------------------------------------------------------- /migrations/2019-03-06-145146_create_articles/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/2019-03-06-145146_create_articles/up.sql -------------------------------------------------------------------------------- /migrations/2019-03-06-152302_create_comments/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE comments; 3 | -------------------------------------------------------------------------------- /migrations/2019-03-06-152302_create_comments/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/2019-03-06-152302_create_comments/up.sql -------------------------------------------------------------------------------- /migrations/2019-03-06-152831_create_article_tags/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE article_tags; 3 | -------------------------------------------------------------------------------- /migrations/2019-03-06-152831_create_article_tags/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/migrations/2019-03-06-152831_create_article_tags/up.sql -------------------------------------------------------------------------------- /src/app/articles/comments.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/app/articles/comments.rs -------------------------------------------------------------------------------- /src/app/articles/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/app/articles/mod.rs -------------------------------------------------------------------------------- /src/app/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/app/mod.rs -------------------------------------------------------------------------------- /src/app/profiles.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/app/profiles.rs -------------------------------------------------------------------------------- /src/app/tags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/app/tags.rs -------------------------------------------------------------------------------- /src/app/users.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/app/users.rs -------------------------------------------------------------------------------- /src/db/articles.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/db/articles.rs -------------------------------------------------------------------------------- /src/db/auth.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/db/auth.rs -------------------------------------------------------------------------------- /src/db/comments.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/db/comments.rs -------------------------------------------------------------------------------- /src/db/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/db/mod.rs -------------------------------------------------------------------------------- /src/db/profiles.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/db/profiles.rs -------------------------------------------------------------------------------- /src/db/tags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/db/tags.rs -------------------------------------------------------------------------------- /src/db/users.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/db/users.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/models/article.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/models/article.rs -------------------------------------------------------------------------------- /src/models/article_tag.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/models/article_tag.rs -------------------------------------------------------------------------------- /src/models/comment.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/models/comment.rs -------------------------------------------------------------------------------- /src/models/follower.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/models/follower.rs -------------------------------------------------------------------------------- /src/models/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/models/mod.rs -------------------------------------------------------------------------------- /src/models/user.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/models/user.rs -------------------------------------------------------------------------------- /src/prelude.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/prelude.rs -------------------------------------------------------------------------------- /src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/schema.rs -------------------------------------------------------------------------------- /src/utils/auth.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/utils/auth.rs -------------------------------------------------------------------------------- /src/utils/custom_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/utils/custom_type.rs -------------------------------------------------------------------------------- /src/utils/hasher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/utils/hasher.rs -------------------------------------------------------------------------------- /src/utils/jwt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/utils/jwt.rs -------------------------------------------------------------------------------- /src/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairingrey/actix-realworld-example-app/HEAD/src/utils/mod.rs --------------------------------------------------------------------------------