Go to file
Sugui a83dbd36db Merge branch 'main' of ssh://git.fai.st:2600/fedi-image-bot/bot-api 2023-12-25 12:57:17 +01:00
src Merge branch 'main' into post-images-endpoint 2023-12-25 12:21:34 +01:00
tests added tests for POST, fixed tests for GET 2023-12-25 12:33:40 +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 convenience scripts 2023-12-25 12:50:21 +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.