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_PATH
value should belocalhost
ordb
if you start Postgres and API together through the docker-compose.FIREBASE_PROJECT_ID
FIREBASE_PRIVATE_KEY
FIREBASE_CLIENT_EMAIL
- Postgres.
- Firebase account with activated Auth module.
- Run Postgres (port 5432) (
docker compose up db
- applying thedocker-compose.override.yml
config) npm install
npm run prisma:generate
npm run start:api
npm install
npm start
ornpm run front:hmr
with HMR
docker compose -f docker-compose.yml -f docker-compose.prod.yml up
- API
- Postgres connection are required
npm install
npm run prisma:generate
npm run build:api:production
npm run start:migrate:prod
- Front
npm install
npx nx build front
npx serve dist/apps/front
or as brutal dude via nginx
You are free to deploy the App in the other way that are more suitable for you.