- Install necessary tools:
- Docker - container management
- Docker Compose - containers defenition
- Pkl - configuration
- LocalStack - local AWS services
- pnpm - package management
- Install/Build dependencies
- Run
pnpm iin the root directory of the project - Change the directory to
<project_root>/packages/common, then run:pnpm build
- Evaluate the default development configuration for API:
- Run
pnpm pkl:evalin the root directory of the project
- Start the necessary services
- Run
make start_servicesin the root directory of the project - If there are not enough permissions, run
sudo make start_services(for linux & macos)
- Start the API
- Change the directory to
<project_root>/apps/api - Run
pnpm start:devto start the backend server - If there are not enough permissions, run
sudo pnpm start:dev(for linux & macos) - It will run on port
8080unless thePORTenvironment variable is set
- Start the web app
- Change the directory to
<project_root>/apps/web - Run
pnpm startto start the web app development server - It will run on port
4200
- Build the images
- Run
sudo make build_images
- Start the local services
- Run
sudo make start_services
- Run the images
- Run
sudo make run_images
- Access the application
- API is exposed on port
8080 - Web application is exposed on port
4200