The source and documentation of the Nerdcult API.
Go to file
antifallobst 31a8c80eca
feat(api): added overwriting of zombie account on registration
2023-08-18 00:09:29 +02:00
src feat(api): added overwriting of zombie account on registration 2023-08-18 00:09:29 +02:00
.env refactor(db): moved from mariadb to postgresql 2023-08-17 21:09:30 +02:00
.gitignore
API.md feat(api): fully implemented the two (GET and DELETE) `tokens` endpoints 2023-08-17 16:40:05 +02:00
Cargo.lock feat(api): added email regex validation on registration 2023-08-17 01:10:01 +02:00
Cargo.toml refactor(db): moved from mariadb to postgresql 2023-08-17 21:09:30 +02:00
README.md docs(readme): updated readme 2023-08-17 21:11:14 +02:00

README.md

Nerdcult API

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

The source can be found in src and the docs in API.md.

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

Implementation Status

  • /accounts
    • /register - POST
    • /verify - POST
    • /authenticate - POST
    • /delete - DELETE
    • /tokens - DELETE
    • /tokens - GET