Repository files navigation
Running in dev environment
Install necessary tools:
Install/Build dependencies
Run pnpm i in 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:eval in the root directory of the project
Start the necessary services
Run make start_services in 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:dev to start the backend server
If there are not enough permissions, run sudo pnpm start:dev (for linux & macos)
It will run on port 8080 unless the PORT environment variable is set
Start the web app
Change the directory to <project_root>/apps/web
Run pnpm start to start the web app development server
It will run on port 4200
Running in Docker on a local machine
Build the images
Run sudo make build_images
Start the local services
Run sudo make start_services
Run the images
Access the application
API is exposed on port 8080
Web application is exposed on port 4200
About
Yet another Reddit clone.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.