Назад до портфоліо
Next-ERP (Enterprise Resource Planning & SaaS Platform)

Next-ERP (Enterprise Resource Planning & SaaS Platform)

Тривалість: 2026 - 2026

Architected and developed a robust, modern, multi-tenant B2B/B2C SaaS ERP system featuring module-based subscription licensing. The platform unifies a Client Relationship Management (CRM) system, Content Management System (CMS), Advanced Inventory & Stock Management engine, and Automated Accounting & Settling modules under a single, schema-isolated workspace.

Відвідати проект → epb.bzhilka.com

Technical Stack & Tools

  • Frontend: Next.js 16/14 (App Router), React 19, TypeScript, HeroUI (v2), Tailwind CSS v4, Framer Motion, React Big Calendar, TipTap / Editor.js (WYSIWYG Integration).
  • Backend & APIs: Next.js Server Actions, Node.js (Express server), RESTful APIs, Swagger/OpenAPI documentation.
  • Database & ORM: Prisma ORM (v7) with PostgreSQL, Multi-Schema design (public, crm, cms, inventory, settlements, shop), custom migration strategies.
  • Message Queues & Async: Kafka (Kafkajs), Outbox Pattern for guaranteed messaging, background workers, and Cron engines.
  • Integrations: LiqPay (PrivatBank API), MonoPay (Acquiring & Bank Statement APIs), Accordbank (Online Corporate API), Google Cloud Storage (GCS), Vercel Blob SDK.
  • Testing & Tooling: Jest, React Testing Library, ESLint, Prettier, automated database backups (PostgreSQL pg_dump integrations).

Key Contributions & Achievements (Resume Bullets)

  • Multi-Schema SaaS Multi-Tenancy: Spearheaded the database architecture migration to a PostgreSQL multi-schema model utilizing Prisma’s multiSchema capabilities. Cleanly isolated enterprise domains (crm, cms, inventory, settlements, shop) to achieve a zero-downtime, fully scalable SaaS licensing platform.
  • Subscription Entitlements & Guarding: Implemented advanced JWT session enrichment with NextAuth.js to dynamically load tenant organizations and active modules; engineered a high-performance Next.js middleware SubscriptionGuard that enforces zero-latency route protection.
  • Batch-Based Inventory Costing Engine: Designed and implemented a precise stock batch-tracking engine supporting multiple costing algorithms (FIFO, LIFO, Weighted Average). Coupled transactions with stock ledgers to generate automated real-time gross margin and sales profitability analytics.
  • Automated B2B/B2C Payment Reconciliation: Integrated dual-purpose payment processors featuring B2C mobile acquiring (LiqPay, MonoPay) and an automated cron-driven B2B bank reconciliation engine. Leveraged regular-expression parsing over Monobank and Accordbank API statements to auto-match and settle invoices with zero manual intervention.
  • Decoupled Micro-Worker Architecture: Engineered an event-driven system powered by Kafka and the Outbox Pattern. Decoupled slow-running or volatile notification routines (such as Telegram notifications and PDF invoicing via Nodemailer) to guarantee resilient delivery and optimize API request-response times.
  • Hybrid Hydration & Performance Optimization: Overcame React 19 hydration mismatches in theme configurations by authoring a dynamic, hybrid-hydration theme provider and utilizing dynamic code-splitting to optimize core bundle metrics.
  • Document & Asset Pipeline: Created a unified multi-adapter asset upload manager backing both Google Cloud Storage and Vercel Blob. Automated PDF invoice generation pipelines utilizing PDFKit for real-time document delivery.