OpenAxis ERP is a modern, full-stack Enterprise Resource Planning system built with Laravel and React. It provides comprehensive business management tools including inventory control, financial management, sales and purchasing workflows, and client relationship management.
- Inventory Management - Track products, stock levels, and warehouse operations
- Sales Management - Create and manage sales orders, commercial proposals, and quotes
- Purchase Management - Handle purchase orders, supplier relationships, and procurement
- Financial Management - Manage accounts receivable, payable, and payment conditions
- Client & Supplier Management - Comprehensive CRM for business partners
- Product Catalog - Detailed product information with media support
- User Management - Role-based access control with granular permissions
- Authentication - Secure login with two-factor authentication (2FA)
- Audit Logging - Complete activity tracking and audit trails
- Real-time Updates - WebSocket integration for live notifications
- Dashboard Analytics - Business insights and reporting
- Settings Management - Customizable system configuration
- Modern UI/UX - Responsive design with dark mode support
- Type-safe Routing - Laravel Wayfinder for frontend route generation
- Real-time Broadcasting - Laravel Reverb for WebSocket connections
- Media Library - File uploads and management with Spatie Media Library
- Developer Tools - Telescope for debugging, Debugbar for development insights
- Comprehensive Testing - Pest 4 with browser testing capabilities
- PHP 8.4 - Latest PHP version with performance improvements
- Laravel 12 - Modern PHP framework
- Laravel Fortify - Authentication backend
- Laravel Reverb - WebSocket server
- Laravel Telescope - Application debugging
- Laravel Wayfinder - Type-safe routing
- Spatie Laravel Permission - Role and permission management
- Spatie Laravel Media Library - Media management
- Laravel Auditing - Activity logging
- React 19 - Modern React with compiler
- Inertia.js 2 - SPA framework for Laravel
- TypeScript 5 - Type-safe JavaScript
- Tailwind CSS 4 - Utility-first CSS framework
- Vite 7 - Fast build tool
- Radix UI - Accessible component primitives
- TanStack Table - Powerful table library
- Framer Motion - Animation library
- React Day Picker - Date picker component
- Pest 4 - Testing framework with browser support
- Laravel Pint - Code style fixer
- ESLint - JavaScript linter
- Prettier - Code formatter
- Laravel Debugbar - Debug toolbar
- Laravel IDE Helper - IDE autocomplete
- PHP 8.4 or higher
- Composer 2.x
- Node.js 20.x or higher
- npm or yarn
- SQLite (default) or MySQL/PostgreSQL
-
Clone the repository
git clone https://github.com/Barata-Ribeiro/OpenAxis.git cd OpenAxis -
Install dependencies and setup
composer run setup
This command will:
- Install PHP dependencies
- Copy
.env.exampleto.env - Generate application key
- Run database migrations
- Install Node.js dependencies
- Build frontend assets
-
Configure environment
# Edit .env file with your settings cp .env.example .env php artisan key:generate -
Run database migrations and seeders (optional)
php artisan migrate:fresh --seed
Start the development server:
composer run devThis starts:
- Laravel development server (http://localhost:8000)
- Queue worker
- Vite dev server (hot reload)
- Reverb WebSocket server
With SSR support:
composer run dev:ssrThis additionally starts:
- Inertia SSR server
- Laravel Pail (log viewer)
Run all tests:
composer run testRun specific test file:
php artisan test tests/Feature/ExampleTest.phpRun with filter:
php artisan test --filter=testNameFormat PHP code:
vendor/bin/pintFormat JavaScript/TypeScript:
npm run formatLint JavaScript/TypeScript:
npm run lintType check:
npm run typesnpm run buildWith SSR:
npm run build:ssropenaxis/
βββ app/ # Application core
β βββ Actions/ # Business logic actions
β β βββ Fortify/ # Fortify authentication actions
β βββ Common/ # Shared utilities
β βββ Console/ # Artisan commands
β βββ Enums/ # PHP enumerations
β βββ Http/ # HTTP layer
β β βββ Controllers/ # Route controllers
β β βββ Middleware/ # HTTP middleware
β β βββ Requests/ # Form request validation
β βββ Interfaces/ # Business logic interfaces
β β βββ Admin/ # Administrative interfaces
β β βββ Management/ # Management interfaces
β β βββ Product/ # Product interfaces
β β βββ Settings/ # Settings interfaces
β βββ Mail/ # Email templates
β βββ Models/ # Eloquent models
β βββ Notifications/ # User notifications
β βββ Providers/ # Service providers
β βββ Rules/ # Custom validation rules
β βββ Services/ # Application services
β
βββ bootstrap/ # Application bootstrap
β βββ app.php # Application configuration
β βββ providers.php # Service provider registration
β βββ cache/ # Framework cache
β
βββ config/ # Configuration files
β βββ app.php # Application config
β βββ database.php # Database config
β βββ fortify.php # Authentication config
β βββ ... # Other configs
β
βββ database/ # Database files
β βββ factories/ # Model factories
β βββ migrations/ # Database migrations
β βββ seeders/ # Database seeders
β
βββ public/ # Public assets
β βββ build/ # Compiled frontend assets
β
βββ resources/ # Frontend resources
β βββ css/ # Stylesheets
β βββ js/ # JavaScript/TypeScript
β β βββ actions/ # Wayfinder generated routes
β β βββ components/ # React components
β β β βββ application/ # App shell components
β β β βββ forms/ # Form components
β β β βββ navigation/ # Navigation components
β β β βββ table/ # Table components
β β β βββ ui/ # UI primitives
β β βββ hooks/ # React hooks
β β βββ layouts/ # Page layouts
β β βββ pages/ # Page components
β β β βββ administrative/ # Admin pages
β β β βββ auth/ # Auth pages
β β β βββ dashboards/ # Dashboard pages
β β β βββ erp/ # ERP module pages
β β β βββ settings/ # Settings pages
β β βββ routes/ # Named routes
β β βββ types/ # TypeScript definitions
β β βββ lib/ # Utilities
β βββ views/ # Blade templates
β
βββ routes/ # Route definitions
β βββ web.php # Web routes
β βββ administrative.php # Admin routes
β βββ erp.php # ERP routes
β βββ settings.php # Settings routes
β βββ console.php # Console routes
β βββ channels.php # Broadcast channels
β
βββ storage/ # Storage directory
β βββ app/ # Application storage
β βββ framework/ # Framework files
β βββ logs/ # Application logs
β βββ media-library/ # Media files
β
βββ tests/ # Tests
β βββ Feature/ # Feature tests
β βββ Unit/ # Unit tests
β βββ Browser/ # Browser tests (Pest 4)
β
βββ .env.example # Environment template
βββ composer.json # PHP dependencies
βββ package.json # Node dependencies
βββ phpunit.xml # PHPUnit configuration
βββ vite.config.ts # Vite configuration
βββ tsconfig.json # TypeScript configuration
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
This project is free software available under the GPLv3 license.