The backend of a gist server written in Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dylan Baker 55ea1c7007 Heroku config 5 anni fa
migrations Rename Gists to Snippets 5 anni fa
src Prevent XSS 5 anni fa
templates Rename Gists to Snippets 5 anni fa
.gitignore Initial commit 5 anni fa
Cargo.lock Heroku config 5 anni fa
Cargo.toml Rename 5 anni fa
LICENSE Add license and readme 5 anni fa
Procfile Heroku config 5 anni fa
README.md Add license and readme 5 anni fa
RustConfig Heroku config 5 anni fa
diesel.toml Initial commit 5 anni fa
rust-toolchain Heroku config 5 anni fa

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