Node API with Express and TypeScript for user authentication microservice with JWT Token
- JavaScript
- TypeScript
- Express Library
- Routes
- Middlewares
- PostGreSQL Database (pg library)
- JWT (jsonwebtoken library)
- http-status-codes library
- config library
Initialize new project:
npm init
Initialize existing project:
npm install
Run the "dev" script, Configured with "ts-node-dev":
npm run dev
Heroku acessa o package.json do projeto e busca pelo script “start”.
npm start
Criar o arquivo Procfile para especificar as configurações para o Heroku.
web: npm start