Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FerrumEngine Project

A comprehensive full-stack web application built with modern technologies and best practices.

οΏ½ Documentation

Start here for complete guides:

οΏ½πŸš€ Features

  • Next.js Framework - Fast, production-ready React framework with server-side rendering
  • TypeScript - Type-safe development with full type checking
  • Tailwind CSS - Utility-first CSS framework for rapid UI development
  • Prisma ORM - Type-safe database access with automatic migrations
  • Turbo Monorepo - Efficient monorepo management with optimized builds
  • ESLint & Prettier - Code quality and formatting standards
  • Multiple Micro-services - Scalable architecture with mini-services
  • WebSocket Support - Real-time communication capabilities

πŸ“‹ Project Structure

FerrumEngine-project/
β”œβ”€β”€ ferrum-platform/          # Main monorepo with packages
β”‚   β”œβ”€β”€ packages/            # Shared packages and modules
β”‚   └── pnpm-workspace.yaml  # PNPM workspace configuration
β”œβ”€β”€ src/                     # Source code
β”‚   β”œβ”€β”€ app/                # Next.js app (Frontend + Backend API)
β”‚   β”‚   β”œβ”€β”€ page.tsx       # Homepage
β”‚   β”‚   β”œβ”€β”€ api/           # Backend API routes
β”‚   β”‚   └── layout.tsx     # Root layout
β”‚   β”œβ”€β”€ components/         # React UI components
β”‚   β”œβ”€β”€ hooks/             # Custom React hooks
β”‚   └── lib/               # Utility functions
β”œβ”€β”€ prisma/                # Database (SQLite)
β”‚   └── schema.prisma
β”œβ”€β”€ public/                # Static assets
β”œβ”€β”€ download/              # Sample images
└── scripts/              # Automation scripts

For detailed structure, see PROJECT_ORGANIZATION.md

πŸ›  Tech Stack

Frontend

  • Next.js 14+ - React framework
  • React - UI library
  • Tailwind CSS - Styling
  • TypeScript - Type safety

Backend & Database

  • Prisma - ORM
  • Node.js - Runtime
  • PNPM - Package manager

DevOps & Build Tools

  • Turbo - Monorepo manager
  • ESLint - Code linting
  • Prettier - Code formatting
  • Vitest - Testing framework
  • Caddy - Web server

Integration & Services

  • AI/LLM APIs - Multiple AI service integrations
  • WebSocket - Real-time communication
  • Python Scripts - Data processing and automation

πŸ“¦ Getting Started

Quick Setup (5 minutes)

# 1. Install dependencies
pnpm install

# 2. Create environment file
cp .env.example .env.local

# 3. Initialize database
pnpm exec prisma migrate dev --name init

# 4. Start dev server
pnpm dev

⚠️ Important: See SETUP.md for complete configuration guide including required environment variables.

Prerequisites

  • Node.js 18+ or higher
  • PNPM 8+
  • Git

πŸ§ͺ Testing

Run tests:

pnpm test

Run tests in watch mode:

pnpm test:watch

πŸ“ Scripts

Key scripts available in package.json:

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm start - Start production server
  • pnpm lint - Run ESLint
  • pnpm format - Format code with Prettier
  • pnpm test - Run tests
  • pnpm type-check - TypeScript type checking

🎨 Styling

The project uses Tailwind CSS for styling with custom configurations:

  • Custom animations and effects in ferrum-effects.css
  • Tailwind configuration in tailwind.config.ts
  • PostCSS processing in postcss.config.mjs

🌐 API & Services

WebSocket Support

Real-time communication examples available in examples/websocket/

Micro-services Architecture

Mini-services located in mini-services/ directory for scalable functionality

πŸ“š Database

Type: PostgreSQL via Supabase (scalable, production-ready)
ORM: Prisma (type-safe database access)
Setup: https://supabase.com (free tier)
Schema: prisma/schema.prisma

Database Commands

# Deploy migrations to Supabase
pnpm exec prisma migrate deploy

# Push schema changes
pnpm exec prisma db push

# View GUI dashboard
pnpm exec prisma studio

# Generate types
pnpm exec prisma generate

Models

  • User - User accounts with email, name
  • Post - Blog posts with title, content, author

Supabase PostgreSQL works for both development and production. See SETUP.md for configuration.

πŸ”§ Configuration Files

  • next.config.ts - Next.js configuration
  • tsconfig.json - TypeScript configuration
  • tailwind.config.ts - Tailwind CSS configuration
  • eslint.config.mjs - ESLint configuration
  • postcss.config.mjs - PostCSS configuration
  • Caddyfile - Caddy web server configuration
  • pnpm-workspace.yaml - PNPM workspace setup
  • turbo.json - Turbo build configuration

πŸ” Environment Variables

Setup: See SETUP.md for complete guide

Required

DATABASE_URL="postgresql://user:password@db.supabase.co:5432/postgres"  # Supabase
NODE_ENV="development"

Optional (For Features)

NEXT_PUBLIC_API_BASE_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-secret"        # Authentication
STRIPE_SECRET_KEY="your-key"         # Payments

⚠️ Security: Never commit .env.local - it's in .gitignore

πŸ“Έ Screenshots

Hero Section & Homepage

Ferrum Hero Main hero showcase

Homepage Final Final homepage design

Hero Scroll Narrative Interactive scroll experience

Design & Effects

Effects Gallery Beautiful animation effects gallery

Ferrum Why Value proposition visualization

Components & UI

MagicUI Components Component library showcase

MagicUI Aurora Text Aurora text effects

MagicUI Border Beam Border beam animations

Navigation & Themes

Navigation Platform Menu Platform navigation menu

Navigation Dark Mode Dark mode navigation

Theme Dropdown Dark Theme selector - dark mode

Theme Dropdown Light Theme selector - light mode

Light Mode Showcase

Light Mode Site Full site in light theme

Documentation

Getting Started Docs Getting started guide

Framework Docs Framework documentation

Performance Docs Performance optimization guide

Design System

RoyCSS Entrance RoyCSS design system entrance

RoyCSS Hero RoyCSS hero section

RoyCSS Screenshot RoyCSS full page view

🀝 Contributing

See CONTRIBUTING.md for contribution guidelines.

Code Quality Standards

  • TypeScript strict mode enabled
  • ESLint for code linting
  • Prettier for code formatting
  • Type safety across all code

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“ž Support

For issues, questions, or contributions:

  1. Check existing issues and documentation
  2. Create a new issue with detailed information
  3. Follow the contribution guidelines

🎯 Roadmap

  • Enhanced AI capabilities
  • Performance optimizations
  • Additional skill modules
  • Improved documentation
  • Community contributions

πŸ“– Additional Resources


Last Updated: 2026-07-24

For the latest updates and news about the project, check the worklog.md

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages