Skip to content

git5x/nextar-dev

Repository files navigation

Nextar Dev - Modern Fintech Solutions

A cutting-edge fintech platform built with Next.js 15, featuring multi-language support, modern UI components, and enterprise-grade architecture.

🚀 Features

  • Multi-language Support: Fully internationalized with English, Romanian, and Russian
  • Modern Tech Stack: Next.js 15 with App Router, TypeScript, and Tailwind CSS
  • Component Library: Reusable UI components with consistent design system
  • Form Management: React Hook Form with Zod validation
  • Data Fetching: TanStack Query for efficient server state management
  • Animations: Smooth animations with Framer Motion
  • Testing: Comprehensive test suite with Jest and React Testing Library
  • Code Quality: ESLint, Prettier, Husky, and lint-staged
  • CI/CD: GitHub Actions with Lighthouse performance monitoring
  • Performance: Optimized for 90+ Lighthouse scores

📁 Project Structure

src/
├── app/                    # Next.js App Router
│   ├── [locale]/          # Internationalized routes
│   │   ├── about/         # About page
│   │   ├── contact/       # Contact form
│   │   └── page.tsx       # Homepage
│   └── layout.tsx         # Root layout
├── components/            # Shared UI components
│   ├── ui/               # Base UI components
│   │   ├── Button.tsx
│   │   └── Card.tsx
│   └── layout/           # Layout components
│       ├── Header.tsx
│       ├── Footer.tsx
│       └── LanguageSwitcher.tsx
├── features/             # Feature-based components
│   └── home/            # Homepage sections
│       ├── HeroSection.tsx
│       ├── FeaturesSection.tsx
│       ├── ServicesSection.tsx
│       ├── ProcessSection.tsx
│       └── StatsSection.tsx
├── hooks/               # Custom React hooks
├── lib/                # Utility functions
├── services/           # API services
├── types/              # TypeScript type definitions
└── locales/            # Internationalization files
    ├── en.json
    ├── ro.json
    └── ru.json

🛠️ Tech Stack

Core Framework

  • Next.js 15: React framework with App Router
  • TypeScript: Type-safe JavaScript
  • Tailwind CSS: Utility-first CSS framework

UI & Styling

  • Framer Motion: Animation library
  • Lucide React: Icon library
  • clsx & tailwind-merge: Conditional class utilities

State Management & Forms

  • TanStack Query: Server state management
  • React Hook Form: Form management
  • Zod: Schema validation

Internationalization

  • next-intl: Next.js internationalization

Development Tools

  • ESLint: Code linting
  • Prettier: Code formatting
  • Husky: Git hooks
  • lint-staged: Pre-commit checks

Testing

  • Jest: Testing framework
  • React Testing Library: React component testing
  • @testing-library/jest-dom: Jest matchers

🚀 Getting Started

Prerequisites

  • Node.js 18.x or later
  • npm, yarn, or pnpm

Installation

  1. Clone the repository:
git clone <repository-url>
cd nextar-dev
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 in your browser

📜 Available Scripts

  • npm run dev - Start development server with Turbopack
  • npm run build - Build production application
  • npm run start - Start production server
  • npm run lint - Run ESLint
  • npm run lint:fix - Fix ESLint issues
  • npm run format - Format code with Prettier
  • npm run format:check - Check code formatting
  • npm run test - Run tests
  • npm run test:watch - Run tests in watch mode
  • npm run test:coverage - Run tests with coverage
  • npm run typecheck - Run TypeScript type checking

🌍 Internationalization

The application supports three languages:

  • English (en) - Default language
  • Romanian (ro)
  • Russian (ru)

Language files are located in src/locales/ and can be easily extended for additional languages.

🎨 Design System

The application follows a consistent design system based on the Nexora.co reference:

  • Clean, minimal design
  • Modern typography with Inter font
  • Consistent color palette
  • Responsive layout patterns
  • Accessible UI components

🧪 Testing Strategy

  • Unit Tests: Component testing with React Testing Library
  • Integration Tests: Feature testing with user interactions
  • E2E Tests: Critical user flows (to be implemented)
  • Performance Tests: Lighthouse CI integration

📊 Performance Optimization

  • Server-Side Rendering: Next.js App Router with SSR
  • Image Optimization: Next.js Image component
  • Code Splitting: Automatic route-based splitting
  • Bundle Analysis: Webpack Bundle Analyzer
  • Lighthouse Monitoring: CI/CD performance checks

🚀 Deployment

Vercel (Recommended)

  1. Connect your repository to Vercel
  2. Configure environment variables
  3. Deploy automatically on push to main

GitHub Actions

The project includes a comprehensive CI/CD pipeline:

  • Testing: Type checking, linting, and unit tests
  • Performance: Lighthouse audits
  • Deployment: Automatic deployment to Vercel

🔧 Configuration

Environment Variables

Create a .env.local file:

NEXT_PUBLIC_API_URL=https://api.nextardev.com

Vercel Deployment

Configure the following secrets in your GitHub repository:

  • VERCEL_TOKEN
  • ORG_ID
  • PROJECT_ID

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and ensure quality checks pass
  5. Submit a pull request

📄 License

This project is licensed under the MIT License.

🆘 Support

For support, email hello@nextardev.com or create an issue in the repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published