Skip to content

dulatif/falin-next

Repository files navigation

Logo

npm version npm downloads license

Falin Next

A production-ready Enterprise boilerplate for Next.js 16, Material UI v6, and TypeScript.

⚡ Installation

Create a new project using the CLI:

npx create-falin-next my-app
cd my-app
npm install
npm run dev

Or with interactive prompts:

npx create-falin-next

🚀 Tech Stack

  • Framework: Next.js 16 (App Router)
  • Language: TypeScript
  • Styling: Material UI v6 + SCSS Modules (Hybrid Approach)
  • State Management: Zustand
  • Server State: TanStack Query v5
  • Forms: React Hook Form + Zod
  • Networking: Axios with Interceptors
  • Testing: Vitest + React Testing Library

📂 Project Structure

src/
├── api/          # API Service Layer (Stateless, Generic)
├── app/          # Next.js App Router Pages
├── config/       # Environment & Global Configs
├── constant/     # Application Constants
├── hooks/        # React Custom Hooks (Core vs Features)
├── interfaces/   # TypeScript Definitions (DTOs vs Entities)
├── providers/    # Global Context Providers
├── theme/        # Material UI Design System
├── ui/           # Atomic UI Components
└── utils/        # Pure Utility Functions

🏎️ Quick Start

  1. Install Dependencies

    npm install
  2. Run Development Server

    npm run dev
  3. Build for Production

    npm run build

🏗️ Architectural Decisions

  • Single Source of Truth: All types defined in interfaces and exported via barrel file.
  • Service Pattern: API calls encapsulated in static service classes.
  • Query Key Factory: Centralized management of React Query keys.
  • Theme System: Custom palette, typography, and component overrides in src/theme.

📜 Documentation

Each directory contains a README.md explaining its specific rules and patterns.

About

A modern, reusable UI component library built with TypeScript, Next JS, and Material-UI. Enhance your projects with sleek, customizable components and rapid development speed.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors