The backend of a gist server written in Rust
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Dylan Baker 55ea1c7007 Heroku config 5年前
migrations Rename Gists to Snippets 5年前
src Prevent XSS 5年前
templates Rename Gists to Snippets 5年前
.gitignore Initial commit 5年前
Cargo.lock Heroku config 5年前
Cargo.toml Rename 5年前
LICENSE Add license and readme 5年前
Procfile Heroku config 5年前
README.md Add license and readme 5年前
RustConfig Heroku config 5年前
diesel.toml Initial commit 5年前
rust-toolchain Heroku config 5年前

README.md

bngl.ws server

This is the server component of the bngl.ws pastebin service.

Running the server

With cargo and diesel installed:

$ git clone https://git.sr.ht/~simulacrumparty/bnglws-server
$ cd bnglws-server
$ echo 'DATABASE_URL=postgres://username@host/dbname' > .env;
$ diesel database setup
$ cargo run