Для тренировки решил тестовое задание отсюда
Required MongoDB database
Database link setup in DB_URI
column in .env
file.
You can find example in .env.example
file.
Install all dependencies with npm
npm i
At first build
npm run build
Start app.ts
npm run app
Start sync.ts
, real-time sync
npm run sync
Start sync.ts
, full reindex
npm run sync -- --full-reindex
If you want to see debug messages, run application with variable DEBUG=1
, e.q.
DEBUG=1 npm run app
DEBUG=1 npm run sync
DEBUG=1 npm run sync -- --full-reindex