Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
Carbon ERP
Application for managing a manufacturing business.
Code Organization
app/components
Reusable react components that are specific to this project (and remix). Shared components should live in packages/react if they don't rely on some application-specific library. For example, the Table relies on some remix internals, so it lives in app/components, but the Date component is framework agnostic, so it lives in packages/react.
app/modules
Where services, ui and form validators are defined for each module.
app/routes
File-based route definitions using React Router's framework mode. This is where the services and interfaces meet. Each route is loaded in parallel for performance, so each route is responsible for defining it's own authorization and data needs. Each route has three parts (none are required):
export async function loader: The data that the route returns, which can be accessed viaGEToruseLoaderDatain the component (3)export async function action: The actions (POSTorDELETE) for the route, which can be accessed via http methods or through theValidatedFormcomponent.export default function: The nested react component for the route. This renders inside the<Outlet/>component of the parent route.