-
setup your backend services
-
clone this repo.
-
run
yarnin the project root. -
add a
.envfile, and include the followingNEXT_PUBLIC_DEV_SERVER_URL=http://localhost:3000/graphql
This project uses the following environment variables:
VITE_APP_REFERENCE_NAME=COREINTERNAL
This variable specifies the default reference name used in the registration. Make sure to set this variable in your environment configuration. If not set, the application will use Default_Reference_Name provided in the code.
Please make sure to set up the required environment variables before running the application.
- run
yarn devand have fun
Follow these steps to get the frontend up and running inside a Docker container.
-
pre-request : ensure the PostgreSQL and backend docker containers are running properly.
-
build docker image: Run the following command to build the Docker image for the platform API:
docker build -t platform_app . -
run docker Execute this command to run the Docker container in the background:
docker run --name platform_app -p 5173:5173 -d platform_app -
Navigate to web app: http://localhost:5173/, and have a fun.