Skip to content

Commit ad4bf35

Browse files
committed
chore: upgrade Next.js 16, React 19, Tailwind v4, Zustand 5
1 parent 85295d0 commit ad4bf35

File tree

9 files changed

+1445
-1201
lines changed

9 files changed

+1445
-1201
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# API URL - Update this to your VPS IP and backend port
44
# NEXT_PUBLIC_API_URL=http://91.98.134.15:5001
5-
NEXT_PUBLIC_API_URL=http://localhost:8081
5+
NEXT_PUBLIC_API_URL=https://api.amarpathagar.nesohq.org/

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# next.js
1010
/.next/
1111
/out/
12+
/.kiro
13+
/.vscode
1214

1315
# production
1416
/build

README.md

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ A classic, old-school styled Next.js frontend for the Amar Pathagar community li
44

55
## Tech Stack
66

7-
| Category | Technology |
8-
|----------|-----------|
9-
| **Framework** | Next.js 14 (App Router) |
10-
| **Language** | TypeScript 5 |
11-
| **Styling** | Tailwind CSS |
12-
| **State Management** | Zustand |
13-
| **HTTP Client** | Axios |
14-
| **Date Handling** | date-fns |
7+
| Category | Technology | Version |
8+
|----------|-----------|---------|
9+
| **Framework** | Next.js (App Router) | 16.1.6 |
10+
| **Language** | TypeScript | 5.7.3 |
11+
| **UI Library** | React | 19.2.4 |
12+
| **Styling** | Tailwind CSS | 4.2.1 |
13+
| **State Management** | Zustand | 5.0.11 |
14+
| **HTTP Client** | Axios | 1.13.5 |
15+
| **Date Handling** | date-fns | 4.1.0 |
16+
| **Icons** | Lucide React | 0.575.0 |
1517

1618
## Quick Start
1719

@@ -59,11 +61,34 @@ frontend/
5961
├── Dockerfile.dev # Development build
6062
├── Makefile # Commands
6163
├── next.config.js # Next.js config
62-
├── tailwind.config.js # Tailwind config
64+
├── postcss.config.js # PostCSS config (Tailwind v4)
6365
├── tsconfig.json # TypeScript config
6466
└── package.json # Dependencies
6567
```
6668

69+
## Important Notes
70+
71+
### Tailwind CSS v4
72+
This project uses **Tailwind CSS v4**, which has a different configuration approach:
73+
- Configuration is done via CSS using `@theme` directive in `globals.css`
74+
- No `tailwind.config.js` file (removed in v4)
75+
- Uses `@tailwindcss/postcss` plugin instead of the old PostCSS plugin
76+
- Some utility classes have changed (e.g., `ring-opacity-20``ring-color/20`)
77+
78+
### React 19
79+
This project uses **React 19** with new features:
80+
- New hooks: `use()`, `useOptimistic()`, `useFormStatus()`
81+
- Improved Server Components
82+
- Better concurrent rendering
83+
- Enhanced error handling
84+
85+
### Next.js 16
86+
This project uses **Next.js 16** with:
87+
- Turbopack as the default bundler (faster builds)
88+
- Enhanced App Router
89+
- Improved caching strategies
90+
- Better TypeScript support
91+
6792
## Environment Variables
6893

6994
Create a `.env.local` file:
@@ -307,4 +332,5 @@ MIT License
307332

308333
---
309334

310-
**Built with Next.js 14 and classic design principles** 📚
335+
**Built with Next.js 16, React 19, and Tailwind CSS v4** 📚
336+
**Last Updated**: February 2026

0 commit comments

Comments
 (0)