A highly-performant, modern gaming frontend platform built on a cutting-edge web stack. This application serves as the storefront, user portal, and game metadata explorer for the GAMEZONE ecosystem.
- Framework: Next.js 15 (App Router)
- Language: TypeScript 5.9+
- UI & Styling: React 19, Tailwind CSS 3.4
- Animations: Framer Motion 11.x
- Backend & Auth: InsForge (PostgreSQL, Auth, Storage, AI)
- 3D Experiences: Spline (
@splinetool/react-spline)
- Blazing Fast Performance: Leveraging Next.js 15 server-side rendering, React Server Components and fine-grained static generation.
- Immersive 3D Elements: Uses
@splinetool/react-splineto bring interactive 3D elements natively into the frontend. - Robust Authentication: Deep integration with InsForge for secure, session-managed access and role-based data.
- Sleek UI/UX Context: Highly animated, hardware-accelerated animations using Framer Motion combined with a bespoke dark-mode-first aesthetic (using Tailwind CSS glow effects and gradients).
- Type-Safe Codebase: Strict TypeScript rules eliminating
anytypes for rock-solid stability.
Make sure you have Node.js (v18+) and npm installed.
-
Clone the repository:
git clone https://github.com/Iyedchebbi/GameSpace.git cd GAMEZONE -
Install dependencies:
npm install
-
Environment Setup: Duplicate the provided
.env.examplefile to create a strictly local.env.localconfig. Supply your InsForge tokens:NEXT_PUBLIC_INSFORGE_URL="your-insforge-url" NEXT_PUBLIC_INSFORGE_ANON_KEY="your-insforge-anon-key"
Start the development server with Hot Module Replacement (HMR):
npm run devOpen http://localhost:3000 in your browser to see the result.
The folder structure strictly adheres to the following:
src/app/: Next.js App Router views, layouts, and page routing logic.src/components/: Reusable, atomic React components (Header.tsx,Hero.tsx).src/lib/: SDK wrappers, InsForge clients, and standalone utilities.src/hooks/: Reusable React Hooks focusing on React state and lifecycle (useAuth.ts,useGames.ts).src/types/: TypeScript strictly-typed interfaces and application models.
- Atomic Commits: Follow Conventional Commits (
feat:,fix:,chore:,docs:). - Security First: Secrets are never pushed. RLS policies manage database permissions over the InsForge client.
- Component Design: Maintain isolated business logic inside custom hooks.
Built iteratively, focused on performance and exceptional gaming experiences.