Last active
March 18, 2020 03:34
-
-
Save CarlosOrtiz/ea659ca5de0e07068c2ee507fd0cef31 to your computer and use it in GitHub Desktop.
Install nestjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*En el programa de node.js command console | |
npm install -g @nestjs/cli | |
npm i -g @nestjs/cli | |
nest new project-name | |
link de nest: https://docs.nestjs.com | |
*En vscode hacer esto en el archivo package.json | |
npm i --save typeorm-model-generator | |
npm i -g npx | |
npm start | |
se oprime la tecla Ctrl + c y despues se oprime S | |
npm install --save @nestjs/typeorm typeorm mysql | |
npx typeorm-model-generator -h localhost -d movie -u root -x caol -e mysql -o . | |
Se crea un proyecto en github llamdo movie, despues se escribe en la consola de vscode | |
git init | |
git add . | |
git commit -m "feat(movie):Metodo de get all" | |
git remote add origin https://github.com/CarlosOrtiz9901/Movie.git | |
git push -u origin master | |
git checkout -b develop | |
git branch | |
git checkout -b CarlosOrtiz | |
nest g mo movie = crea la carpeta modelo | |
nest g co movie = se crea los controladores | |
nest g s movie = se crea los servicios |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment