Skip to content

Latest commit

Β 

History

10 Commits

Folders and files

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

Repository files navigation

JOYN AI - Fuel Distribution & Allocation Management System

React Material-UI AG-Grid Storybook License

A comprehensive React-based web application for fuel distribution allocation management, featuring advanced data grid capabilities, picklist management, and allocation configuration tools.

πŸš€ Features

Core Functionality

  • Allocation Management: Complete fuel allocation workflow management
  • Network Management: Manage distribution networks and configurations
  • Monthly Close Process: Automated monthly closing procedures
  • Asset Management: Comprehensive asset tracking and management
  • Reading Views: Data visualization and reporting capabilities
  • Scheduler: Automated task scheduling and management

Advanced Data Management

  • Picklist Management: Dynamic picklist creation and management
    • Generic picklists with customizable options
    • Transporter management
    • Purchaser configurations
    • Tank strapping data
    • Dynamic lookup tables
  • Data Grid Integration: Enterprise-grade AG-Grid implementation
  • Search & Filter: Advanced search capabilities across all data sets
  • Export Functionality: Data export and reporting features

User Interface

  • Modern Design: Clean, professional Material-UI based interface
  • Responsive Layout: Mobile-friendly responsive design
  • Custom Components: Specialized JOYN UI component library
  • Accessibility: WCAG compliant interface components
  • Theme Support: Customizable theming system

πŸ› οΈ Technology Stack

Frontend Framework

  • React 16.13.1: Modern React with hooks and functional components
  • React Router DOM 5.2.0: Client-side routing and navigation
  • Material-UI 5.0.0: Component library and design system

Data Management

  • AG-Grid Enterprise 24.0.0: Advanced data grid with enterprise features
  • AG-Grid React: React integration for AG-Grid
  • AG-Grid Community: Core grid functionality

Development Tools

  • Storybook 6.0.21: Component development and documentation
  • ESLint: Code linting and quality assurance
  • Prettier: Code formatting
  • Husky: Git hooks for code quality
  • Webpack Bundle Analyzer: Bundle optimization

Build & Deployment

  • React Scripts 3.4.3: Build and development server
  • Node Sass 4.14.1: SCSS compilation
  • Vercel/Netlify: Deployment platforms

πŸ“¦ Installation

Prerequisites

  • Node.js (v14 or higher)
  • Yarn package manager
  • Modern web browser

Setup Instructions

  1. Clone the repository

    git clone <repository-url>
    cd joyn-ai
  2. Install dependencies

    yarn install
  3. Start development server

    yarn start
  4. Open in browser Navigate to http://localhost:3000

πŸš€ Available Scripts

Development

  • yarn start - Start development server
  • yarn test - Run test suite
  • yarn lint - Run ESLint
  • yarn lint-fix - Fix ESLint issues automatically
  • yarn format - Format code with Prettier

Storybook

  • Live Demo: View Component Library - Interactive component documentation
  • yarn storybook - Start Storybook development server
  • yarn build-storybook - Build Storybook for production

Production

  • yarn build - Create production build
  • yarn vercel-deploy - Deploy to Vercel
  • yarn netlify-deploy - Deploy to Netlify

Analysis

  • yarn analyze-webpack-bundle - Analyze bundle size and dependencies

πŸ“ Project Structure

src/
β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ JoynAgGridReact/    # AG-Grid wrapper components
β”‚   β”œβ”€β”€ JoynButton/         # Custom button components
β”‚   β”œβ”€β”€ JoynInputField/     # Form input components
β”‚   └── ...                 # Other UI components
β”œβ”€β”€ containers/         # Business logic containers
β”‚   β”œβ”€β”€ GenericPicklists/   # Picklist management
β”‚   β”œβ”€β”€ Transporters/       # Transporter management
β”‚   └── ...                 # Other containers
β”œβ”€β”€ pages/              # Application pages
β”‚   β”œβ”€β”€ AllocationConfig/   # Allocation configuration
β”‚   β”œβ”€β”€ Assets/             # Asset management
β”‚   β”œβ”€β”€ ManageNetworks/     # Network management
β”‚   └── ...                 # Other pages
β”œβ”€β”€ parts/              # Layout components
β”‚   β”œβ”€β”€ Layout/             # Main layout wrapper
β”‚   β”œβ”€β”€ JoynAppBar/         # Application header
β”‚   └── JoynDrawer/         # Navigation drawer
β”œβ”€β”€ utils/              # Utility functions and constants
β”œβ”€β”€ styles/             # Theme and styling
└── config/             # Configuration files

🎨 Component Library

Core Components

  • JoynButton: Custom button with multiple variants
  • JoynInputField: Form input with validation
  • JoynModal: Modal dialog component
  • JoynTabs: Tab navigation component
  • JoynSearchBar: Advanced search functionality

Data Grid Components

  • JoynAgGridReact: AG-Grid wrapper with custom styling
  • JoynAgGridToolbar: Grid toolbar with actions
  • JoynAgGridHeader: Custom grid headers

Layout Components

  • JoynAppBar: Application header
  • JoynDrawer: Navigation sidebar
  • Layout: Main application layout

πŸ”§ Configuration

AG-Grid Configuration

The application uses AG-Grid Enterprise with custom configuration:

  • Pagination settings
  • Column definitions
  • Custom renderers
  • Export functionality

Theme Configuration

Custom Material-UI theme with:

  • JOYN brand colors
  • Custom typography
  • Responsive breakpoints
  • Component overrides

πŸš€ Deployment

Vercel Deployment

yarn vercel-deploy

Netlify Deployment

yarn netlify-deploy

Storybook Deployment

yarn netlify-deploy-storybook

πŸ“Š Performance Optimization

  • Code Splitting: Lazy loading of route components
  • Bundle Analysis: Webpack bundle analyzer integration
  • Tree Shaking: Optimized imports and exports
  • Font Optimization: Preloaded custom fonts

πŸ”’ Security

  • Private Repository: Secure code management
  • Dependency Security: Regular dependency updates
  • Code Quality: ESLint and Prettier enforcement
  • Git Hooks: Pre-commit quality checks

🀝 Contributing

Code Quality Standards

  • ESLint configuration for code consistency
  • Prettier for code formatting
  • Husky hooks for pre-commit validation
  • Component documentation with Storybook

Development Workflow

  1. Create feature branch
  2. Implement changes with tests
  3. Run quality checks
  4. Submit pull request

πŸ“ˆ SEO Optimization

This README is optimized for search engines with:

  • Target Keywords: Fuel distribution, allocation management, React dashboard
  • Structured Content: Clear headings and sections
  • Technical Details: Comprehensive technology stack information
  • Feature Descriptions: Detailed functionality overview
  • Installation Guide: Step-by-step setup instructions

πŸ“ž Support

For technical support and questions:

  • Component Documentation: View Storybook - Interactive component library and documentation
  • Check existing issues in the repository
  • Contact the development team

πŸ“„ License

This project is proprietary software. All rights reserved.


JOYN AI - Advanced Fuel Distribution Management System Built with React, Material-UI, and AG-Grid Enterprise

About

πŸš€ Enterprise fuel distribution allocation management system built with React, Material-UI, and AG-Grid. Features advanced data grids, picklist management, and allocation workflows.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages