Example how to use TypeORM with JavaScript + Babel.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 74156f4 Apr 19, 2018
Permalink
Failed to load latest commit information.
src updated typeorm to 0.2.0 Apr 19, 2018
.babelrc removed stage0 deps Jan 27, 2017
.gitignore initial commit Jan 27, 2017
README.md Update README.md Jan 27, 2017
ormconfig.json updated dependencies Sep 27, 2017
package.json updated typeorm to 0.2.0 Apr 19, 2018

README.md

Example how to use TypeORM with JavaScript + Babel

  1. clone repository
  2. run npm i
  3. edit ormconfig.json 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