Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

apiplant/anonpaste-backend

Repository files navigation

backend

This is a backend for an E2E encrypted notes sharing service.

How to run

Make sure you have a .env file with the following:

DATABASE_URL=sqlite:sqlite.db?mode=rwc 
FRONTEND_ORIGIN=http://localhost:1234
ADMIN_TOKEN=01a2c96b-a354-4421-8b4a-e2e3681b8c6a
BREVO_API_KEY=YOUR_API_KEY
EMAIL_FROM=info@yoursite.anon
EMAIL_NAME=AnonPaste

Run the server with:

cargo run

Create a database and run migrations with:

cargo sqlx database create
cargo sqlx migrate run

License

MIT

About

API for a privacy conscious pastebin-like app using Axum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /