This repo contains a project in Node.js with an authentication system using:
- Expressjs: A framework for web applications in Nodejs.
- TypeORM: An ORM for Nodejs applications, with support for Typescript and Javascript.
- JSON Web Token (jwt): A library to decode, verify and generate JWT.
- Git
- Nodejs 13.2.0 or higher
- NPM
git clone https://github.com/joaovictordev/typeorm-jwt.git
then:
yarn install
or
npm install
Copy .env.example and set your variables
finally, in the root dir
yarn dev
or
npm run dev