Giter Site home page Giter Site logo

projeto-node's Introduction

Projeto-Node

adicionar repositorio node: curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -

instalar node: sudo apt-get install -y nodejs

verificar versão: node -v

instalando yarn: npm install --global yarn

iniciando uma aplicação: yarn init -y

adicionando express: yarn add express

adicionando nodemon: (inicializa o servidor automaticamento no desenvolvimento) yarn add nodemon -D

adicionando typescript:

yarn add typescript -D

biblioteca de transformação de typescript para javascript yarn add ts-node-dev -D

extensão do express yarn add @types/express

iniciando a typescript na aplicação tsc --init

importando lib de transformação yarn add class-transformer

lib interceptação de erros yarn add express-async-errors

lib de cryptografia yarn add bcryptjs yarn add @types/bcryptjs -D

lib token yarn add jsonwebtoken yarn add @types/jsonwebtoken -D

lib typeorm yarn add [email protected]

lib para anotetions yarn add refelct-metadata

lib conexão com banco postgree yarn add pg

criando o arquivo de configuração da conexão ormconfig.json

criando migration: yarn typeorm migration:create -n

yarn add uuid

yarn @types/uuid

projeto-node's People

Contributors

devkemc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.