|
| 1 | +# TechStacks - Next.js Migration |
| 2 | + |
| 3 | +This is the modernized React + Next.js version of TechStacks, migrating from Nuxt.js + Vuetify. |
| 4 | + |
| 5 | +## Tech Stack |
| 6 | + |
| 7 | +- **Framework:** Next.js 15 with App Router |
| 8 | +- **Language:** TypeScript 5 |
| 9 | +- **Styling:** Tailwind CSS v3+ (migrating to v4) |
| 10 | +- **UI Components:** shadcn/ui + Radix UI |
| 11 | +- **State Management:** React Query + Zustand |
| 12 | +- **Forms:** React Hook Form + Zod |
| 13 | +- **Backend:** ASP.NET Core + ServiceStack (unchanged) |
| 14 | + |
| 15 | +## Getting Started |
| 16 | + |
| 17 | +1. Install dependencies: |
| 18 | +```bash |
| 19 | +npm install |
| 20 | +``` |
| 21 | + |
| 22 | +2. Run the development server: |
| 23 | +```bash |
| 24 | +npm run dev |
| 25 | +``` |
| 26 | + |
| 27 | +3. Open [http://localhost:3000](http://localhost:3000) in your browser. |
| 28 | + |
| 29 | +4. Make sure the backend is running on port 5000: |
| 30 | +```bash |
| 31 | +cd ../TechStacks |
| 32 | +dotnet run |
| 33 | +``` |
| 34 | + |
| 35 | +## Project Structure |
| 36 | + |
| 37 | +``` |
| 38 | +src/ |
| 39 | +├── app/ # Next.js App Router pages |
| 40 | +│ ├── layout.tsx # Root layout |
| 41 | +│ ├── page.tsx # Homepage |
| 42 | +│ └── globals.css # Global styles |
| 43 | +├── components/ |
| 44 | +│ └── ui/ # shadcn/ui components |
| 45 | +├── lib/ |
| 46 | +│ ├── api/ # ServiceStack client & queries |
| 47 | +│ ├── utils/ # Utility functions |
| 48 | +│ └── dtos.ts # ServiceStack DTOs |
| 49 | +└── types/ # TypeScript type definitions |
| 50 | +``` |
| 51 | + |
| 52 | +## Migration Progress |
| 53 | + |
| 54 | +- [x] Phase 0: Setup & Foundation |
| 55 | +- [ ] Phase 1: Static Pages & Layouts |
| 56 | +- [ ] Phase 2: Data Integration |
| 57 | +- [ ] Phase 3: Authentication |
| 58 | +- [ ] Phase 4: Forms & Creation |
| 59 | +- [ ] Phase 5: Social Features |
| 60 | +- [ ] Phase 6: Organizations |
| 61 | +- [ ] Phase 7: Moderation |
| 62 | +- [ ] Phase 8: Polish & Optimization |
| 63 | +- [ ] Phase 9: Testing & QA |
| 64 | +- [ ] Phase 10: Deployment |
| 65 | + |
| 66 | +## Scripts |
| 67 | + |
| 68 | +- `npm run dev` - Start development server |
| 69 | +- `npm run build` - Build for production |
| 70 | +- `npm run start` - Start production server |
| 71 | +- `npm run lint` - Run ESLint |
| 72 | +- `npm run format` - Format code with Prettier |
| 73 | +- `npm run type-check` - TypeScript type checking |
| 74 | + |
| 75 | +## Learn More |
| 76 | + |
| 77 | +- [Next.js Documentation](https://nextjs.org/docs) |
| 78 | +- [ServiceStack Documentation](https://docs.servicestack.net/) |
| 79 | +- [Tailwind CSS](https://tailwindcss.com/) |
| 80 | +- [shadcn/ui](https://ui.shadcn.com/) |
0 commit comments