/enrolla

The open source feature management framework for B2Bs. Control and manage your customer configurations; integrate with your existing systems.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

CI CD Contributor Covenant License

Getting Started with Local Developement

Enrolla is using a monorepo (powered by Nx Workspaces) with multiple apps and libraries.

It's backend is based on NestJS, and its front-end is a Vite deployment of a Refine app.

Follow these instructions to set up a local developement environment.

  1. Clone the repositoriy and install dependencies:

    git clone https://github.com/enrolla/enrolla.git
    cd enrolla
    nvm install
    npm install
  2. Set up a local Postgres Database. You can use Postgres.app for Mac for example.

  3. Set up doppler, our secrets manager:

    doppler login
    doppler setup
  4. Apply database migrations:

    doppler run -- npx nx run prisma-models:prisma-deploy
  5. To start developing, run the serve target on both the backend and the frontend:

    # This will serve the Backend in development mode
    doppler run -- npx nx serve
    # This will serve the Frontend in development mode
    doppler run -p frontend -c dev -- npx nx serve mgmt-ui

That's it, you are good to go! Happy hacking! 👾