Skip to content

DonVadimon/chat-app-backend

Repository files navigation

CHAT APP

Directory structure

<root>
├── README.md # you are right here
├── chat-api # main chat api on nestjs
├── face-api # face analyze flask api
├── database # postgresql directory
├── pgadmin # pgadmin directory
├── nginx # nginx configuration
├── docker-compose.yml # shared docker-compose configuration
├── docker-compose.dev.yml # docker-compose configuration specific to devevlopment
├── docker-compose.face.api-only.yml # docker-compose configuration specific to face-api with api-only option
├── docker-compose.prod.yml # docker-compose configuration specific to production
└── docker-start.sh # script for docker-compose start

Run app

Use command sh ./docker-start.sh <mode>

Available running modes:

  • <no options> - run app in development mode
  • prod - run app in production mode
  • face-api-only - run app but face-api response is mocked

Khizhnyakov Vadim, 2022-2023