This is the standalone version of the frontend for the GraphPolaris add-on marketplace.
- A running instance of the marketplace backend
- A running instance of the GraphPolaris infrastructure, specifically the User Management Service.
- Node.js 21 or later
- pnpm
Before starting the application, ensure the following services are running:
- The backend on the port specified in the
.env
file. - The User Management Service in Docker on the port specified in the
.env
file.
Next, follow these steps:
- Create a
.env
file and set the required environment variables to match your setup. For an example, see thesample.env
file. - Install the dependencies using
pnpm i
. - Run
pnpm start
to start the frontend.
To manage the application, use pnpm <script>
, where <script>
is one of the following:
dev
- Start the development server with MSW mocking.start
- Start the development server without mocking.build
- Build the application for production.preview
- Locally preview the production build.test
- Launch the test runner.build-tailwind
- Rebuild the Tailwind CSS stylesheet.format
- Run Prettier to format the code.lint
- Run ESLint to lint the code.lint:fix
- Automatically fix ESLint issues.