Welcome to the frontend repository of KU Wongnai! Built with Next.js, this app elegantly showcases dynamic app routing.
- Next.js: Our foundational framework.
- Shadcn: Enhancing UI through Shadcn, blending Radix UI with Tailwind CSS.
- React Hook Form: For efficient and flexible form validation.
- Lucide Icons: Elevate aesthetics with lucide icons, a set of gorgeous open-source icons.
- Zod: A TypeScript-first schema declaration and validation library. Ensure strong typing and validation with Zod.
- Zustand: A small, fast, and scaleable bearbones state-management solution. Simplify state logic with Zustand.
Copy .env.example
to .env
cp .env.example .env
This key have the same as Notification Service
NEXT_PUBLIC_PUSHER_KEY=
NEXT_PUBLIC_PUSHER_CLUSTER=
-
pnpm: Our chosen package manager. Install it globally if you haven't:
npm i -g pnpm
-
Dependencies: Ensure all the required packages are in place:
pnpm install
-
Development Server: Launch it with:
pnpm dev
-
Head to http://localhost:3000 in your browser to view the application live.
For those who prefer Docker for development or deployment, we've got you covered.
-
Ensure Docker and
docker-compose
are installed on your system. -
Build and start the services defined in the
docker-compose.yaml
:docker-compose up --build
-
Visit http://localhost:3000 to see the app in action.
-
Docker Image Repository: KU Wongnai Frontend on Docker Hub
⚙️ Note: For service configurations and port settings, see docker-compose.yaml
.
📝 Pro Tip: Dive right into customization with app/page.tsx
. Real-time updates keep development agile.
Enhance your understanding and skills with these resources:
-
Next.js:
- Official Documentation - Comprehensive guide on Next.js features.
- Interactive Tutorial - Hands-on learning with Next.js.
- GitHub Repository - For those looking to contribute or get under the hood.
-
Other Libraries:
- React Hook Form - Efficient and flexible form validation for React.
- Shadcn - UI library blending Radix UI with Tailwind CSS for rapid design.
- Lucide Icons - Open-source icons to enhance app aesthetics.
- Zod - Schema declaration and validation made easy.
- Zustand - Effortless state management for React.
Streamline your deployment on the Vercel Platform, the brainchild of Next.js creators.
For detailed deployment insights, delve into the Next.js deployment documentation.