The backend of a gist server written in Rust
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Dylan Baker 55ea1c7007 Heroku config 5 år sedan
migrations Rename Gists to Snippets 5 år sedan
src Prevent XSS 5 år sedan
templates Rename Gists to Snippets 5 år sedan
.gitignore Initial commit 5 år sedan
Cargo.lock Heroku config 5 år sedan
Cargo.toml Rename 5 år sedan
LICENSE Add license and readme 5 år sedan
Procfile Heroku config 5 år sedan
README.md Add license and readme 5 år sedan
RustConfig Heroku config 5 år sedan
diesel.toml Initial commit 5 år sedan
rust-toolchain Heroku config 5 år sedan

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