Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.pingoai.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Onde ficam

  • Backend migrations: Backend-1/src/database/migrations
  • Backend seeds: Backend-1/src/database/seeds
  • Channel migrations: channel-2/src/database/migrations
  • Channel seeds: channel-2/src/database/seeds

Comandos oficiais

Backend

cd Backend-1
npm run db:migrate
npm run db:seed

Channel

cd channel-2
npm run db:migrate
npm run db:seed

Usuario admin padrao (seed)

Backend

  • Nome: Admin
  • Email: admin@aarca.online
  • Senha em texto: adminpro
  • Perfil: admin
  • Super: true
Seed: Backend-1/src/database/seeds/20200904070006-create-default-user.ts

Channel

  • Nome: Admin
  • Email: admin@oplano.club
  • Senha em texto: adminpro
  • Perfil: admin
  • Super: true
Seed: channel-2/src/database/seeds/20200904070006-create-default-user.ts

Empresa default

Ambos os modulos possuem seed de empresa/plano inicial:
  • 20200904070003-create-default-company.ts

Fluxo recomendado de bootstrap

  1. Subir infraestrutura (Postgres/Redis/RabbitMQ/MinIO).
  2. Rodar migrations backend e channel.
  3. Rodar seeds backend e channel.
  4. Subir backend/channel/frontend.
  5. Login pelo frontend ou via POST /auth/login.