stablev1.0.0
AI REST API
Express REST API starter with OpenAPI docs, rate limiting, JWT auth, and @dcyfr/ai integration.
Code Preview
{
"name": "@dcyfr/ai-api",
"version": "1.0.0",
"description": "Express REST API starter with OpenAPI docs, rate limiting, JWT auth, and @dcyfr/ai integration.",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"test": "vitest"
},
"dependencies": {
"@dcyfr/ai": "^1.0.0",
"next": "^15",
"react": "^19",
"react-dom": "^19"
}
}Setup
1
Clone the template
npx create-dcyfr-app my-app --template dcyfr-ai-api2
Install dependencies
cd my-app && npm install3
Configure environment
cp .env.example .env.local4
Start developing
npm run dev