heviane / api-user-authentication

Node API with Express and TypeScript for user authentication microservice with JWT Token

Home Page:https://api-ms-authentication.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API para autenticação de usuários

Node API with Express and TypeScript for user authentication microservice with JWT Token

Stacks

  • JavaScript
  • TypeScript
  • Express Library
  • Routes
  • Middlewares
  • PostGreSQL Database (pg library)
  • JWT (jsonwebtoken library)
  • http-status-codes library
  • config library

Run project locally

Initialize new project:

npm init

Initialize existing project:

npm install

Run the "dev" script, Configured with "ts-node-dev":

npm run dev

Preparing for deployment on Heroku

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

References

About

Node API with Express and TypeScript for user authentication microservice with JWT Token

https://api-ms-authentication.herokuapp.com

License:MIT License


Languages

Language:TypeScript 99.9%Language:Procfile 0.1%