Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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