The backend of a gist server written in Rust
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Dylan Baker 55ea1c7007 Heroku config 5 anos atrás
migrations Rename Gists to Snippets 5 anos atrás
src Prevent XSS 5 anos atrás
templates Rename Gists to Snippets 5 anos atrás
.gitignore Initial commit 5 anos atrás
Cargo.lock Heroku config 5 anos atrás
Cargo.toml Rename 5 anos atrás
LICENSE Add license and readme 5 anos atrás
Procfile Heroku config 5 anos atrás
README.md Add license and readme 5 anos atrás
RustConfig Heroku config 5 anos atrás
diesel.toml Initial commit 5 anos atrás
rust-toolchain Heroku config 5 anos atrás

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