hanywang2 / enrolla

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

Home Page:https://enrolla.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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! 👾

About

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

https://enrolla.io

License:Apache License 2.0


Languages

Language:TypeScript 96.0%Language:JavaScript 2.9%Language:Dockerfile 0.6%Language:HTML 0.4%Language:Shell 0.1%