https://github.com/mazenessam99/zoom-task
A modern Next.js 15 app featuring authentication, role-based routing, internationalization (i18n), and a responsive Figma-based landing page with clean architecture and scalable structure
https://github.com/mazenessam99/zoom-task
animation cookies jwt nextjs react-hook-form react-hot-toast redux-toolkit responsive-design tailwindcss tanstack-query typescript zod-validation
Last synced: 8 days ago
JSON representation
A modern Next.js 15 app featuring authentication, role-based routing, internationalization (i18n), and a responsive Figma-based landing page with clean architecture and scalable structure
- Host: GitHub
- URL: https://github.com/mazenessam99/zoom-task
- Owner: mazenessam99
- Created: 2026-06-13T07:42:31.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2026-06-13T08:53:13.000Z (16 days ago)
- Last Synced: 2026-06-13T10:23:05.126Z (16 days ago)
- Topics: animation, cookies, jwt, nextjs, react-hook-form, react-hot-toast, redux-toolkit, responsive-design, tailwindcss, tanstack-query, typescript, zod-validation
- Language: TypeScript
- Homepage: https://zoom-task.vercel.app
- Size: 9.77 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π Zoom Cleaning Task
A production-ready **Next.js 15 application** showcasing authentication, role-based routing, internationalization, and a fully responsive landing page built from a Figma design.
This project demonstrates clean architecture, scalable structure, and modern frontend best practices.
---
## π Live Demo
- π Live URL: (https://zoom-task.vercel.app/en/admin)
- π GitHub Repository: https://github.com/mazenessam99/zoom-task
---
## π Overview
This application was built as a **Frontend Technical Assessment** with a strong focus on:
- Scalable architecture
- Clean and maintainable code
- Role-based access control
- Pixel-perfect UI implementation
- Responsive design across all devices
- Internationalization (i18n)
---
## β¨ Key Features
### π Authentication System
- Secure login functionality
- JWT-based authentication
- Persistent user session
- Form validation using Zod
- Loading & error states handling
- Logout functionality
---
### π§ Role-Based Routing
The system supports two user roles:
#### π SUPER_ADMIN
Redirected to:
Dashboard includes:
- Full Name
- Email Address
- Phone Number
- User Type
---
#### π’ MARKETER
Redirected to:
Access to a fully responsive landing page.
---
## π Internationalization (i18n)
Built using `next-intl`
Supported languages:
- πΊπΈ English
- πͺπ¬ Arabic
Features:
- RTL / LTR support
- Dynamic language switching
- Fully localized UI content
---
## π¨ Landing Page (Figma Implementation)
A pixel-perfect implementation based on the provided Figma design.
### Sections:
- Hero Section
- Services / Features Section
- Statistics Section
### Highlights:
- Fully responsive layout
- Reusable UI components
- Clean spacing & typography
- Modern design system approach
---
## π Route Protection & Middleware
- Protected routes using authentication guards
- Role-based access control
- Middleware-level protection
- Automatic redirection for unauthorized users
---
## π Project Architecture
A clean and scalable folder structure:
src/
app/
[locale]/
admin/
login/
components/
ui/
shared/
admin/
landing/
hooks/
useRedux/
lib/
schemas/
helpers/
i18n/
messages/
ar.json
en.json
request.ts
routing.ts
store/
middleware/
types/
---
## π§ͺ Form Handling & Validation
- React Hook Form for form state management
- Zod for schema validation
- Strong TypeScript integration
---
## π Notifications
- React Hot Toast for user feedback
- Success / error handling UX improvements
---
## π§ State Management
- Redux Toolkit for global state
- RTK Query for API handling (if applicable)
- Centralized and scalable store structure
---
## π― Technical Highlights
- β‘ Next.js 15 App Router
- π¦ TypeScript for type safety
- π¨ Tailwind CSS for styling
- π§© Reusable components architecture
- π Secure authentication flow
- π Multi-language support
- π± Fully responsive UI
- π§Ό Clean code principles
- ποΈ Scalable folder structure
---
### π Login Page

---
### π Landing Page

---
### π Admin Dashboard

---
## π Tech Stack
### Frontend
- Next.js 15
- React 19
- TypeScript
### Styling
- Tailwind CSS
- Lucide Icons
### State Management
- Redux Toolkit
- RTK Query
### Forms & Validation
- React Hook Form
- Zod
### Internationalization
- next-intl
### Notifications
- React Hot Toast
### Authentication
- JWT
- Middleware Protection
- Role-Based Access Control
### Tools
- ESLint
- Prettier
- Git & GitHub
### Deployment
- Vercel
---
## π¨βπ» Author
**Mazen Essam**
- GitHub: https://github.com/mazenessam99
- LinkedIn: www.linkedin.com/in/mazen-essam-8b5448224
---
## β Project Goals
This project was built to demonstrate:
- Real-world frontend architecture
- Scalable Next.js structure
- Clean and maintainable code
- Professional UI implementation
- Best practices in React ecosystem