https://github.com/Zimtir/SENT-template
Create a repository based on SENT-template
# for Rollup
npx degit "Zimtir/SENT-template" my-app
Install packages
npm run install:dev
- Install only required packages for simple development (no test support and other tools)npm run install:dev:full
- Install all packagesnpm run install:prod:full
- Install all packages to execute tests, storybook and so on at production environmentnpm run install:prod
- Install only required packages to run productionnpm run test:dev
or npm run test:prod
- Execute all testsIS_CODE_COVERAGE_ENABLED='true'
in environment variables to print at output a coverage by testsStart application
npm run dev
# or
npm run start
Navigate to Swagger url (http://localhost:3000/api/swagger)
Application
npm run build
docker-cmpose up sent-template
Application
docker-compose -f docker-compose.dev.yml up web
Storybook
docker-compose -f docker-compose.dev.yml up storybook
Nginx
npm run build
docker-compose -f docker-compose.dev.yml up nginx
Tests
docker-compose -f docker-compose.dev.yml up test