All Projects → lawliet89 → rowdy

lawliet89 / rowdy

Licence: Apache-2.0 license
A Rocket based JSON Web Token authentication server.

Programming Languages

rust
11053 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to rowdy

auth0-rocket-rust-example
Rocket app that authenticates users with Auth0
Stars: ✭ 30 (-9.09%)
Mutual labels:  rocket-rs
rfcbot-rs
Coordinates asynchronous decision making on Rust repositories. Status of tracked issues and PRs can be viewed at https://rfcbot.rs.
Stars: ✭ 143 (+333.33%)
Mutual labels:  rocket-rs
rocket-rest-api-with-jwt
A Rusty Rocket fuelled with Diesel and secured by JWT
Stars: ✭ 62 (+87.88%)
Mutual labels:  rocket-rs
reason-rust-scraper
🦀 Scraping & crawling websites using Rust, and ReasonML
Stars: ✭ 21 (-36.36%)
Mutual labels:  rocket-rs
shorty
High-performance link shortener
Stars: ✭ 48 (+45.45%)
Mutual labels:  rocket-rs
rusty-bunny
a tool that lets you write smart bookmarks
Stars: ✭ 20 (-39.39%)
Mutual labels:  rocket-rs
rust-for-backend-development
SWITCH TO RUST AND STOP WASTING YOUR TIME WITH JAVASCRIPT RUNTIME EXCEPTIONS
Stars: ✭ 30 (-9.09%)
Mutual labels:  rocket-rs
auth-rs
Simple username/password authentication system for Rocket
Stars: ✭ 19 (-42.42%)
Mutual labels:  rocket-rs
rocket-yew-starter-pack
Example boilerplate for websites in pure Rust
Stars: ✭ 77 (+133.33%)
Mutual labels:  rocket-rs

rowdy

Build Status Dependency Status Crates.io Repository Documentation

Documentation: Stable | Master

rowdy is a Rocket based JSON Web token based authentication server based off Docker Registry's authentication protocol.

Requirements

Rocket requires nightly Rust. You should probably install Rust with rustup, then override the code directory to use nightly instead of stable. See installation instructions.

In particular, rowdy is currently targetted for nightly-2017-10-11.

Testing

The crate is set up to make use of workspaces for various parts of rowdy.

To run tests for rowdy-diesel, you will need to run the Docker containers for the various databases.

docker-compose -f diesel/docker-compose.db.yml up

To run tests on everything, do cargo test --all --all-features --no-fail-fast.

Docker Image

An musl-linked image can be built from the Dockerfile in the repository root. You will need at least Docker 17.05 (API version 1.29) to build.

By default, the Docker image will not start Rowdy for you. You will need to provide your own configuration file and command line arguments. The provided docker-compose.yml should get you started.

You can simply define your own docker-compose.override.yml file. For example:

version: "2.1"
services:
  rowdy:
    environment:
      ROCKET_ENV: production
    expose:
      - "80"
    volumes:
      - ./config:/app/config
    command: [rowdy-cli, csv, config/Config.json]
networks:
  nginx:
    external: true

Then, you can simply start the containers with docker-compose up --build -d.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].