Welcome to the MABA repository!
Initial deployment: 29/04/2025 00:02
After cloning the repository, you will have to run the following commands:
pnpm install
npx prisma generate
Then, in order to run the application in development mode, run:
pnpm dev
To build the application, run:
pnpm build
In order to run the app, you need to provide a database .env variables:
REMOTE_DATABASE_URL="sqlserver://00.0.0.00;database=ExampleDB;user=username;password=your_password;encrypt=true;trustServerCertificate=true"
pnpm e2e
In order to run tests, you need to provide such .env variables:
TEST_ACTIVE_EMAIL="example_active@gmail.com"
TEST_INACTIVE_EMAIL="example_inactive@gmail.com"
TEST_CUSTOMER_SUPPORT_EMAIL="example_customer_support@gmail.com"
TEST_ACTIVE_CORRECT_PASSWORD="12345"
TEST_ACTIVE_INCORRECT_PASSWORD="1234"
TEST_INACTIVE_PASSWORD="12345"
TEST_DOMAIN="127.0.0.1"
TEST_URL="http://127.0.0.1:3000"
pnpm storybook
In order to commit latest changes to chromatic, run this command:
pnpm chromatic
You need to have a Chromatic token in your .env to be able to make commits
CHROMATIC_PROJECT_TOKEN="chpt_abcdefg12345678"
pnpm lint