A modern portfolio website built with Next.js and powered by Contentful CMS.
- Framework: Next.js 16 with React 19
- CMS: Contentful for content management
- Styling: Tailwind CSS v4
- Testing: Vitest with React Testing Library
- TypeScript: Full type safety throughout
Install dependencies:
npm installRun the development server:
npm run devOpen http://localhost:3000 to view the site.
Create a .env.local file with your Contentful credentials:
CONTENTFUL_SPACE_ID=your_space_id
CONTENTFUL_ACCESS_TOKEN=your_access_tokennpm run dev- Start development servernpm run build- Build for productionnpm start- Start production servernpm run lint- Run ESLintnpm test- Run testsnpm run test:coverage- Run tests with coverage
Build the application:
npm run buildThe app can be deployed to any platform that supports Next.js, such as Vercel, Netlify, or your own server.
Content is managed through Contentful CMS. The site automatically revalidates when content is updated via webhooks.