This project uses pnpm as the package manager and includes both a web frontend and backend services.
- Node.js (v20 or later)
- pnpm (v10 or later)
- Docker and Docker Compose (for running the database and services)
-
Run the setup script to create the project structure and configuration files: Use bash and run
chmod +x setup.shthenbash ./setup.sh -
Install dependencies:
pnpm install -
Set up the database:
- Start the PostgreSQL database
docker-compose up -d postgres - Generate the Prisma client
pnpm db:generate - Run database migrations
pnpm db:migrate
- Start the PostgreSQL database
Run just the web app:
pnpm dev:web
Run just the API:
pnpm dev:api
Start both frontend and backend:
pnpm dev
The "Hello World" React app should be visible at http://localhost:3000. Let me know if you still can't access it!