Hello π Welcome to the erxes developer documentation!
erxes is a source available experience management infrastructure. Pioneering the future of experiences with XOS (Experience Operating System). Hubspot + Qualitics alternative
Achieving growth and unity within your company is possible. Find more about what you can do with erxes as follows:
erxes is a source available project (see LICENSE for more information); everyone (individuals and companies, especially SaaS providers) can use it for free privately to create better experiences for everything they do, such as customer, employee, production, service, and many more experiences.
erxes Marketplace serves as a hub for accessing a diverse range of plugins, extensions, and integrations designed to enhance the functionality and capabilities of the erxes operating system. From productivity tools to specialized industry solutions, the Marketplace offers a curated selection of offerings to cater to the varying needs of users. Whether you're a small business looking to streamline your operations or a large enterprise seeking advanced features, the Marketplace provides a one-stop shop for discovering and implementing valuable additions to your erxes experience. With user reviews, ratings, and detailed descriptions, you can easily evaluate and select the right plugins for your specific requirements. Additionally, developers and third-party providers can leverage the Marketplace to showcase their creations, reaching a broader audience of erxes users and contributing to the ecosystem's growth. By fostering collaboration and innovation, the Marketplace enriches the erxes community, empowering users to tailor their experience and maximize the value derived from the platform.
Our community is at the heart of everything we do. We understand that people who contribute to a project are the main drivers who push a project forward. erxes core project, the documentation, and any related tool can be found in the erxes on GitHub.
erxes documentation contains instructions for everything you need to know about erxes. For additional information, you can use any of these channels to get the answer you want:
If you need any support during your development with erxes, you can join our Discord. You will get help directly from our core team and our community.
By joining our Discord Server, you'll also have the chance to participate in many events and showcase your work with erxes.
erxes (pronounced 'erk-sis') is a secure, self-hosted, and scalable source-available Experience Operating System (XOS) that enables businesses to manage marketing, sales, operations, and support in one unified platform.
βββββββββββββββββββββββββββββββββββββββββββ
β API Gateway (Port 4000) β
β Apollo Router + Service Discovery β
βββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββΌββββββββββββββ
βΌ βΌ βΌ
ββββββββββββ ββββββββββββ ββββββββββββ
β Core API β β Plugin β β Plugin β
β (3300) β β APIs β β APIs β
ββββββββββββ ββββββββββββ ββββββββββββ
β β β
βββββββββββββββ΄ββββββββββββββ
β
βββββββββββββββΌββββββββββββββ
βΌ βΌ βΌ
ββββββββββββ ββββββββββββ ββββββββββββ
β MongoDB β β Redis β βElasticseaβ
β β β +BullMQ β β rch β
ββββββββββββ ββββββββββββ ββββββββββββ
Technologies:
βββββββββββββββββββββββββββββββββββββββββββ
β Core UI (Host - Port 3001) β
β Module Federation Host Application β
βββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββΌββββββββββββββ
βΌ βΌ βΌ
ββββββββββββ ββββββββββββ ββββββββββββ
β Plugin β β Plugin β β Plugin β
β UI (3005)β β UI (3006)β β UI (3007)β
ββββββββββββ ββββββββββββ ββββββββββββ
Technologies:
Standalone Applications:
erxes/
βββ backend/ # Backend microservices
β βββ gateway/ # API Gateway (Port 4000)
β β βββ src/main.ts # Gateway entry point
β βββ core-api/ # Core business logic (Port 3300)
β β βββ src/
β β β βββ main.ts # Core API entry point
β β β βββ apollo/ # GraphQL schema & resolvers
β β β βββ trpc/ # tRPC router
β β β βββ modules/ # Business logic modules
β β β β βββ contacts/
β β β β βββ products/
β β β β βββ segments/
β β β β βββ automations/
β β β β βββ documents/
β β β βββ meta/ # Automation, segment configs
β β β βββ routes.ts # Express routes
β β βββ Dockerfile
β β βββ project.json # Nx configuration
β β βββ tsconfig.json
β βββ erxes-api-shared/ # Shared library for all services
β β βββ src/
β β βββ utils/ # Service discovery, Redis, MQ
β β βββ core-types/ # TypeScript type definitions
β β βββ core-modules/ # Reusable business logic
β βββ plugins/ # Plugin microservices
β β βββ sales_api/ # Sales plugin (Port 3305)
β β βββ operation_api/ # Operations plugin
β β βββ frontline_api/ # Customer service plugin
β β βββ accounting_api/ # Accounting plugin (EE)
β β βββ content_api/ # Content management (EE)
β β βββ ...
β βββ services/ # Background services
β βββ automations/ # Automation execution engine
β βββ logs/ # Logging service
βββ frontend/ # Frontend applications
β βββ core-ui/ # Module federation host (Port 3001)
β β βββ src/
β β β βββ main.ts # Entry point
β β β βββ bootstrap.tsx # App bootstrap
β β βββ module-federation.config.ts
β βββ libs/ # Shared UI libraries
β β βββ erxes-ui/ # Core UI components & state
β β βββ ui-modules/ # Reusable UI modules
β βββ plugins/ # Frontend plugin remotes
β βββ sales_ui/ # Sales UI plugin (Port 3005)
β β βββ src/
β β β βββ config.tsx # Plugin configuration
β β β βββ modules/ # Module components
β β β βββ pages/ # Page components
β β β βββ widgets/ # Widget components
β β βββ module-federation.config.ts
β β βββ rspack.config.ts
β βββ ...
βββ apps/ # Standalone applications
β βββ client-portal-template/ # Next.js 16 customer portal
β βββ posclient-front/ # Next.js 14 POS client
β βββ frontline-widgets/ # Customer-facing widgets
βββ scripts/ # Development scripts
β βββ create-plugin.js # Plugin generator
β βββ start-api-dev.js # Start all API services
β βββ start-ui-dev.js # Start all UI plugins
βββ .github/workflows/ # CI/CD pipelines (26+ workflows)
βββ nx.json # Nx configuration
βββ pnpm-workspace.yaml # pnpm workspace config
βββ package.json # Root package.json
βββ tsconfig.base.json # Base TypeScript config
βββ CLAUDE.md # This file
Please see the LICENSE file for licensing information.
Yes, we're source available software, our license is AGPLv3 with Enterprise Edition, which means some of our plugins and code for SaaS are require prior agreement and kept private under Enterprise Edition. But the rest are all free for you to install and use for you. Please read more about our license here.
However, we provides 5 different packages for our clients, which include:
Self-serve version that is suitable for small to medium enterprises who want to leave all your tech-related work to us and only focus on your main operation that is non-technical. Pricing is super simple in that you can get access to erxes for free and use it as long as you want as an individual. Then as your business grows, you can only pay for what you need, rather than having a bunch of junk that comes within the package.
Self-hosted version that is suitable for SaaS providers or enterprises operating in highly regulated industries, like insurance, mobile network providers, banking and etc. As it is self-hosted, you must ensure you and your organization have a skilled DevOps person/team to look after the server to maintain the smooth operation of your erxes operating system daily. As an erxes user, you can choose between using the Source Available Edition, which is entirely free, or paid plan of the Enterprise Edition.
Enterprise version of erxes caters to the needs of established businesses and organizations requiring robust solutions. It offers advanced features tailored for large-scale operations, including enhanced security measures and comprehensive analytics tools. With flexible pricing options, you can scale your usage according to your requirements, ensuring cost-effectiveness as your enterprise grows.
Embedded version of erxes is designed for integration within third-party applications or platforms, offering seamless customer experience management capabilities. This version allows developers to embed erxes functionalities directly into their software, enhancing user engagement and satisfaction. With customizable features and API integrations, you can tailor the embedded version to align perfectly with your product offerings and branding.
Platform version of erxes is ideal for entrepreneurs looking to launch and manage platform businesses. With white-labeling options and extensive customization capabilities, you can adapt the platform to suit your specific niche and branding requirements. Leveraging erxes core plugins, components, and enterprise features, you can power your entire platform ecosystem, offering high-value services and generating revenue through paid plugins and subscriptions.
Infrastructure version is for is the best choice for starting a platform business. You can white-label the design or change every line of code to make it work for you, and this is where you can leverage erxes core plugins, components, and enterprise features to power your entire platform business that includes some of the very specific, high-level paid plugins.
Edit this page