See ispent.pp.ua
- Node >18 (other versions didn't tested)
- Environments:
DATABASE_URL( example:postgresql://postgres:DB_PASSWORD@DB_PATH:5432/DB_NANE?schema=public).DB_PATHvalue should belocalhostordbif you start Postgres and API together through the docker-compose.FIREBASE_PROJECT_IDFIREBASE_PRIVATE_KEYFIREBASE_CLIENT_EMAIL
- Postgres.
- Firebase account with activated Auth module.
- Run Postgres (port 5432) (
docker compose up db- applying thedocker-compose.override.ymlconfig) npm installnpm run prisma:generatenpm run start:api
npm installnpm startornpm run front:hmrwith HMR
docker compose -f docker-compose.yml -f docker-compose.prod.yml up
- API
- Postgres connection are required
npm installnpm run prisma:generatenpm run build:api:productionnpm run start:migrate:prod
- Front
npm installnpx nx build frontnpx serve dist/apps/frontor as brutal dude via nginx
You are free to deploy the App in the other way that are more suitable for you.