Initial MVP: DocFast PDF API

- HTML/Markdown to PDF conversion via Puppeteer
- Invoice and receipt templates
- API key auth + rate limiting
- Dockerfile for deployment
This commit is contained in:
DocFast Bot 2026-02-14 12:38:06 +00:00
commit feee0317ae
14 changed files with 4529 additions and 0 deletions

27
package.json Normal file
View file

@ -0,0 +1,27 @@
{
"name": "docfast-api",
"version": "0.1.0",
"description": "Markdown/HTML to PDF API with built-in invoice templates",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"test": "vitest run"
},
"dependencies": {
"express": "^4.21.0",
"marked": "^15.0.0",
"puppeteer": "^24.0.0",
"nanoid": "^5.0.0",
"helmet": "^8.0.0",
"express-rate-limit": "^7.5.0"
},
"devDependencies": {
"typescript": "^5.7.0",
"tsx": "^4.19.0",
"@types/express": "^5.0.0",
"@types/node": "^22.0.0",
"vitest": "^3.0.0"
}
}