#web-apps #assets #hook #reservation #applications #system #authentication

nightly bellhop

Asset reservation web application with plugable authentication and hooks

3 unstable releases

0.2.1 Mar 28, 2019
0.2.0 Jan 8, 2019
0.0.1 Nov 23, 2018

#7 in #reservation

28 downloads per month
Used in 4 crates

Apache-2.0

97KB
2.5K SLoC

Rust 2K SLoC // 0.0% comments SQL 347 SLoC // 0.1% comments Handlebars 283 SLoC // 0.0% comments JavaScript 73 SLoC

Bellhop

Asset reservation system.

First Time Setup

This project requires the lastest Rust nightly.

You'll also need to have diesel's cli tool installed to be able to work with the database:

cargo install diesel_cli --no-default-features --features postgres

Installing Postgres

sudo apt install postgresql-9.5 postgresql-client libpq-dev
sudo -u postgres createuser -P bellhop
sudo -u postgres createdb -O bellhop bellhop

Running

After performing the setup, running the server is pretty simple:

cargo run

Unsorted Notes

Generating API Documentation

npm install redoc-cli
export REDOC_CLI="$(pwd)/node_modules/redoc-cli/index.js"

lib.rs:

Bellhop is a web application for sharing and reserving assets (like lab computers, test credentials, etc.) among members of a team.

There are some plugins for supporting authentication and for integration with other services. See the Bellhop website https://bellhop.rs for more documentation and usage examples.

Dependencies

~20–30MB
~497K SLoC