Local Development

# Start the server
cd packages/server
npm run dev

# Start the client (in another terminal)
cd packages/client
npm run dev

Server runs on http://localhost:3000 Client runs on http://localhost:3001

Docker

FROM node:18-alpine

WORKDIR /app

COPY package*.json ./
COPY packages ./packages

RUN npm install
RUN npm run build

EXPOSE 3000

CMD ["node", "packages/server/dist/index.js"]

Last updated