https://github.com/erickcelestino/workspaces
Hello, this repository aims to record my evolution using the NX tool, as well as in Typescript, NestJS and React so far, as well as the use of CI and Unit Tests.
https://github.com/erickcelestino/workspaces
cicd docker nestjs nx postgressql prisma react typescript
Last synced: 4 months ago
JSON representation
Hello, this repository aims to record my evolution using the NX tool, as well as in Typescript, NestJS and React so far, as well as the use of CI and Unit Tests.
- Host: GitHub
- URL: https://github.com/erickcelestino/workspaces
- Owner: ErickCelestino
- Created: 2024-01-30T21:32:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-24T03:00:16.000Z (7 months ago)
- Last Synced: 2025-01-24T01:37:10.180Z (6 months ago)
- Topics: cicd, docker, nestjs, nx, postgressql, prisma, react, typescript
- Language: TypeScript
- Homepage:
- Size: 4.87 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-install.md
Awesome Lists containing this project
README
# Workspaces
## Comandos Front
### Angular
- npm i -D @nx/angular
- npx nx g @nx/angular:application --name= --directory=apps/front/ --routing=true --style=scss --standalone=false --no-interactive## React
- npm add -D @nx/react
- npx nx g @nx/react:application --name=web-pure-institutional --directory=apps/web/web-pure-institutional --globalCss=true --projectNameAndRootFormat=as-provided --routing=true --style=scss --tags=application
- nx g @nx/react:library --name=feature --unitTestRunner=jest --directory=libs/feature --projectNameAndRootFormat=as-provided## Comandos Back
### NestJs
- npm i -D @nx/nest
- npx nx g @nx/nest:application --name= --frontendProject= --directory= --strict=true
- nx g resource [RESOURCE_NAME] -p [APPLICATION_NAME]## Comandos de biblioteca
- npx nx g @nx/js:library --name= --unitTestRunner=jest --directory=libs/--projectNameAndRootFormat=as-provided
## Comandos de configuração
- npx create-nx-workspace@latest nx-test
- npm i -D husky lint-staged
- npx husky init
- npm run prepare
- echo "npx lint-staged" > .husky/pre-commit
- npm i @nestjs/passport passport passport-local
- npm i -D @types/passport-local
- npm i @nestjs/jwt passport-jwt
- npm i -D @types/passport-jwt