Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-21T10:21:28.000Z (about 1 month ago)
- Last Synced: 2024-11-21T11:25:32.387Z (about 1 month ago)
- Topics: cicd, docker, nestjs, nx, postgressql, prisma, react, typescript
- Language: TypeScript
- Homepage:
- Size: 5.64 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