This website
A Next.js portfolio with a live AI playground, bot protection and a CI pipeline that deploys to Vercel.
- Next.js
- React
- TypeScript
- CSS Modules
- Jest
- Vercel
- GitHub Actions
About the project
This site is a Next.js app written in TypeScript. Besides the usual sections it hosts a live AI playground: you draw on a canvas and a model guesses what it is.
The playground talks to the site's own API routes, which call DoodleAI server-side with short-lived tokens issued by Vercel, so there is no shared secret to store or leak.
Pages are server-rendered, so search engines see the full content without running JavaScript. Metadata, structured data, the sitemap and the web manifest are generated by Next.js. The site is available in English and Polish.
Highlights
- Rate limiting and bot detection at the edge, input validation in the API routes.
- GitHub Actions runs lint, type check, tests and a dependency audit on every change, and main deploys to Vercel.
- Strict security headers, including a Content Security Policy.
- Jest and React Testing Library tests for components and API routes.