maiconfriedel / node-typeorm

REST API using Express, with JWT authentication, TypeORM for database, Tsyringe for Dependency Injection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node TypeORM Rest API - Clean Architecture - Typescript

Includes API Server utilities:

  • typeorm

    • TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8).
  • dotenv

    • Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env

Development utilities:

  • ts-node-dev
    • ts-node-dev is a library that restarts target node process when any of required files changes (as standard node-dev) but shares Typescript compilation process between restarts.
  • eslint
    • ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
  • typescript
    • TypeScript is a language for application-scale JavaScript. Javascript with superpowers!

Setup

npm install

Lint

npm run lint

Development

npm run dev

About

REST API using Express, with JWT authentication, TypeORM for database, Tsyringe for Dependency Injection


Languages

Language:TypeScript 92.1%Language:JavaScript 7.7%Language:Shell 0.3%