The source and documentation of the Nerdcult API.
Go to file
antifallobst 9c3a3b8e26
docs(readme): updated readme
2023-08-17 16:40:50 +02:00
src feat(api): fully implemented the two (GET and DELETE) `tokens` endpoints 2023-08-17 16:40:05 +02:00
.env feat(db): implemented database connection 2023-08-16 18:05:54 +02:00
.gitignore added gitignore and fixed api specification for `/account/delete` 2023-08-15 20:25:02 +02:00
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 feat(api): added email regex validation on registration 2023-08-17 01:10:01 +02:00
README.md docs(readme): updated readme 2023-08-17 16:40:50 +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=mysql://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