Go to file
Alie c428e956bc added expiry times to jwt
decided against adding refresh tokens due to they not being that usefull in our architecture
2023-12-27 18:44:09 +01:00
.gitea/workflows change test workflow on pull request 2023-12-25 14:40:10 +01:00
src added expiry times to jwt 2023-12-27 18:44:09 +01:00
tests Deleted "message" attribute that was on all JSON responses 2023-12-27 18:16:46 +01:00
.dockerignore Adding docker compose to test api with mongodb 2023-12-25 07:47:16 +01:00
.gitignore first commit 2023-12-08 14:05:20 +01:00
Dockerfile Adding docker compose to test api with mongodb 2023-12-25 07:47:16 +01:00
README.md Changed title of README.md 2023-12-25 12:55:52 +01:00
compose.yaml added convenience scripts 2023-12-25 12:50:21 +01:00
mongo-init.js added the logic for the endpoint and made a fix in an index that was wrong 2023-12-25 12:21:01 +01:00
package.json added basic auth controler 2023-12-27 18:20:11 +01:00
tsconfig.json first commit 2023-12-08 14:05:20 +01:00

README.md

bot-api

To install dependencies:

bun install

To run:

docker compose up

For testing, remember:

docker compose down -v
docker compose run bot-api bun run test

This project was created using bun init in bun v1.0.13. Bun is a fast all-in-one JavaScript runtime.