This is the backend code for the Macaron web app.
Ready for a treat? 🍬 Play with the app here and have fun! 🎉
For more information about this project, check out this blog post.
- Ensure Deno is installed.
- Run
deno cache ./src/server.ts
to cache the server file. - Run
deno run --allow-net --allow-env --allow-read src/server.ts
to start the server. - You can use
denon
command instead to automatically restart the server when changes are made.
test
: Run tests for the backend.lint
: Lint the code using Deno's built-in linter.
- Deno: Latest version
- Other dependencies as per the backend codebase.
This application requires the following environment variables to be set:
OPENAI_API_KEY
: This is the API key for OpenAI. You can obtain it from the OpenAI dashboard.
Please ensure these environment variables are set before running the application.