크게 백엔드 API 서버 (Node.js)와 프론트엔드 서버 (Node.js, Express) 및 프론트엔드 (React)로 구성되어 있습니다.
pnpm 7.x가 필요합니다.
pnpm install
backend-ts 디렉토리에서 작업합니다.
PostgreSQL DB에 schema.sql을 반영합니다.
.env.sample, ormconfig.json.sample을 가지고 .env, ormconfig.json를 작성합니다.
pnpm run start:dev
web 디렉토리에서 작업합니다.
프론트엔드만 수정하고 싶을 때 사용할 수 있는 방법입니다. (주의: 프로덕션 서비스 백엔드를 그대로 사용하게 됩니다.)
pnpm -C frontend run start-remote
- frontend/config.json.sample을 가지고- frontend/config.json을 작성합니다.
- 개발 서버 실행: cd frontend; pnpm start