- node
- yarn
- nx
- Nestjs (backend)
- Mailer
- Logger Winston
- Doc generetor by swagger
- Https
- TypeOrm for database
- Authentication with Passport
- Nextjs (frontend)
- React
- Storybook
- Styled component
- React hook form
- React query
- Infrastructure
- NX - Monorepo
- Docker componse
- Typescript
- Jest
- Linters
- Cypress (e2e)
- Test end to end
yarn install
yarn create-certs
docker-compose up -d
yarn start:dev
yarn lint:fix
// or
yarn nx run-many --target=lint --all --fix
// or more specific if you want
yarn nx lint api
yarn nx lint <project name>
yarn tscheck
or
yarn nx run-many --target=tsc --all --only-failed
In a new module you have to add in projec.json
this config
{
"targets": {
...
"tsc": {
"executor": "@webpro/nx-tsc:tsc",
"options": {
"tsConfig": ["tsconfig.json"]
}
}
}
}
nx run project-name:storybook
nx storybook project-name
nx run project-name:build-storybook
nx generate @nrwl/react:component-story --componentPath=<path> --project=<projec-name> --verbose
nx generate @nrwl/react:component-story --componentPath=pages/auth/confirme-email/[token].tsx --project=consumer-frontend --verbose
nx generate @nrwl/react:storybook-configuration consumer-frontend --bundler=webpack --configureTestRunner --no-generateCypressSpecs --tsConfiguration
yarn test
nx run project-name:test
nx test project-name
nx g @nrwl/nest:lib module
nx g move --project module <group>/module
nx g @nrwl/next:lib module
nx g move --project module <group>/module