The source and documentation of the Nerdcult API.
Go to file
antifallobst f9595513e0
refactor(db): removed the not needed field `salt` from Accounts table
The password salt is already defined in the PHC string in the `password` filed
2023-09-10 14:38:05 +02:00
.sqlx refactor(accounts): switched from deprecated function `base64::encode()` to `base64::Engine::encode()` 2023-09-10 02:04:14 +02:00
docs refactor(db): removed the not needed field `salt` from Accounts table 2023-09-10 14:38:05 +02:00
src refactor(db): removed the not needed field `salt` from Accounts table 2023-09-10 14:38:05 +02:00
.dockerignore feat(docker): dockerized project 2023-08-20 14:30:11 +02:00
.env refactor(db): moved from mariadb to postgresql 2023-08-17 21:09:30 +02:00
.gitignore refactor(deps): removed clap 2023-09-09 16:05:22 +02:00
Cargo.lock refactor(deps): removed clap 2023-09-09 16:05:22 +02:00
Cargo.toml refactor(deps): removed clap 2023-09-09 16:05:22 +02:00
Dockerfile feat(docker): dockerized project 2023-08-20 14:30:11 +02:00
README.md docs(api): renamed docs/API.md to docs/README.md 2023-08-18 18:06:43 +02:00

README.md

Nerdcult API

This repo contains the source and documentation of the nerdcult api.

Running

You can run the server with the following command:

export DATABASE_URL=postgres://user:password@host/database
export SMTP_HOST_URL=smtp.yourmailserver.tld
export SMTP_USER=accounts@yourdomain.tld
export SMTP_PASSWORD=password
./nerdcult_api