AJ Kadri's vanilla HTML/CSS/JavaScript portfolio, served by a small Express app. The server also provides the OpenRouter-backed portfolio assistant without exposing the API key to the browser.
- Install Node.js 18 or newer.
- Run
npm install. - Copy
.env.exampleto.envand addOPENROUTER_API_KEY. - Run
npm run devand openhttp://localhost:3000.
For production, set OPENROUTER_API_KEY in the host's private environment settings and run npm start. The app listens on PORT when the host supplies one. Do not deploy this project as a static-only site: /api/chat needs the Node server.
The assistant defaults to openai/gpt-4.1-mini through OpenRouter for predictable production responses. Set OPENROUTER_MODEL to another supported model slug if needed.