This project is a Fastify server for orchestrating AI content for Peck and Strut. It uses a Handlebars markdown template for prompt formatting and is ready for Heroku deployment.
- POST
/create-content: Acceptsprompt,persona, andsentimentand returns a formatted prompt using a markdown template. - Easily modifiable prompt template via
prompt-template.md. - Fully tested with Vitest, mocks downstream LLM/OpenAPI requests with Nock.
- Heroku-ready (uses
PORTenv variable and includes aProcfile).
npm install
npm startnpm test- Commit your code to git.
- Create a Heroku app:
heroku create - Push to Heroku:
git push heroku main
See memory.md for engineering philosophy and testing strategy.