Skip to content

typeorm/typescript-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example how to use TypeORM with TypeScript

  1. clone repository
  2. run npm i
  3. edit data-source.ts and change your database configuration (you can also change a database type, but don't forget to install specific database drivers)
  4. run npm start
  5. enjoy!

How to use CLI?

  1. install typeorm globally: npm i -g typeorm
  2. run typeorm -h to show list of available commands