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.
-
Clone the repositoriy and install dependencies:
git clone https://github.com/enrolla/enrolla.git cd enrolla nvm install npm install
-
Set up a local Postgres Database. You can use Postgres.app for Mac for example.
-
Set up doppler, our secrets manager:
doppler login doppler setup
-
Apply database migrations:
doppler run -- npx nx run prisma-models:prisma-deploy
-
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! 👾