An interactive developer portfolio and blog built with Next.js 16 (App Router) and React 19. It features spring-physics UI animations, a custom interactive terminal CLI emulator, and a passcode-secured blog CMS.
- Framework: Next.js 16.2 (App Router) & React 19.2
- Styling: Tailwind CSS v4 & PostCSS
- Animations: Motion (Framer Motion)
- Database: Local JSON File (
src/data/blogs.json) - Markdown Parsing: React Markdown
Create a .env.local file in the root directory:
ADMIN_PASSCODE=your_secret_passcode_hereADMIN_PASSCODE: Used to authenticate access to the/adminCMS dashboard.
npm installnpm run devThe application will be available at http://localhost:3000.
npm run build
npm startGET /api/blogs— Retrieve all blog posts.POST /api/blogs— Create a new blog post.GET | PUT | DELETE /api/blogs/[id]— Fetch, update, or delete a single post.POST /api/admin/login— Verify admin passcode.