The backend of a gist server written in Rust
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Dylan Baker 55ea1c7007 Heroku config před 5 roky
migrations Rename Gists to Snippets před 5 roky
src Prevent XSS před 5 roky
templates Rename Gists to Snippets před 5 roky
.gitignore Initial commit před 5 roky
Cargo.lock Heroku config před 5 roky
Cargo.toml Rename před 5 roky
LICENSE Add license and readme před 5 roky
Procfile Heroku config před 5 roky
README.md Add license and readme před 5 roky
RustConfig Heroku config před 5 roky
diesel.toml Initial commit před 5 roky
rust-toolchain Heroku config před 5 roky

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