For run locally we need a run mongodb and redis container
docker-compose up -d -f docker-compose-install.yml
-d
means detached
mongodb://localhost:27017/kofi-database
localhost:6379
docker build -t kofi-app-prod .
First, run the development server:
yarn install
yarn dev:start
Open http://localhost:3000 with your browser to see the result.
How to run tests with coverage?
yarn test:coverage
See folder coverage/Icov-report/index.html
npx cross-env NODE_ENV=dev ts-node -r tsconfig-paths/register ./src/tests/scripts/seed.ts