CORE-1.1: Initialize Next.js 15 Project
Ticket ID: CORE-1.1
Milestone: 1 - Project Initialization & Code Quality
Priority: π΄ Critical
Status: Not Started
Description
Create a new Next.js 15 project using create-next-app. Configure it with TypeScript, Tailwind CSS, and the App Router. This is the absolute first step in establishing the PenguinMails application foundation.
Context
This ticket establishes the core framework for PenguinMails. According to the High-Level Architecture, the frontend is built with:
- React.js with TypeScript
- Tailwind CSS for styling
- Next.js App Router for routing and server-side rendering
Acceptance Criteria
- β A new Next.js project exists in the Git repository
- β
The projectβs dependencies are installed via
npm install - β
Running
npm run devstarts the local server successfully and displays the default Next.js page - β TypeScript is configured and working
- β Tailwind CSS is installed and configured
- β App Router is set up (not Pages Router)
Technical Details
Required Configuration
- Next.js Version: 15.x
- TypeScript: Latest stable version
- Tailwind CSS: Latest version with PostCSS
- App Router: Enabled (default in Next.js 13+)
Project Structure
penguinmails/
βββ app/
β βββ layout.tsx
β βββ page.tsx
β βββ globals.css
βββ public/
βββ package.json
βββ tsconfig.json
βββ tailwind.config.ts
βββ next.config.js
Implementation Notes
- Use
create-next-app@latestwith TypeScript and Tailwind CSS flags - Ensure the project uses the App Router (not Pages Router)
- Verify that the default page renders correctly
- Test that hot module replacement (HMR) works
Related Documentation
- High-Level Architecture - System architecture
- Architecture System Overview - Technical architecture details
- Development Standards - Development guidelines
- Implementation & Getting Started - Setup guides
Dependencies
None - This is the first ticket.
Testing
- Run
npm run devand verify the default page loads - Verify TypeScript compilation works without errors
- Confirm Tailwind CSS styles are applied
- Test that the development server restarts on file changes
Related Documentation
- Routes: core-app-structure
- API: API Reference