Skip to content

A simple API made with Typescript, TypeORM for user authentication with JWT

Notifications You must be signed in to change notification settings

jucelinodev/typescript-typeorm-api-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript-TypeORM-API-JWT

A simple API made with Typescript, TypeORM for user authentication with JWT

Requirements

Start Server

  • Clone the repository:
$ git clone https://github.com/jucelinodev/typescript-typeorm-api-jwt.git
  • Enter directory
$ cd /typescript-typeorm-api-jwt
  • To install all dependencies, you must run the following command:
$ npm install
  • Change .env.exemple to .env and enter valid data for database connection and other settings:
# Auth
APP_SECRET=
# Database
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=
  • Start server dev:
$ npm run dev
  • Generate build:
$ npm run build
  • To run project:
$ npm start

About

A simple API made with Typescript, TypeORM for user authentication with JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published