/starter-server-node-ts

☕️ REST API using Node with typescript, KOA framework. TypeORM for MySQL.

Primary LanguageTypeScriptMIT LicenseMIT

Awesome Project KOA

JavaScript Style Guide License: MIT

Steps to run this project:

  1. Run yarn or npm i command
  2. Copy and rename .env.example to .env. Setup database settings inside this file
  3. Run yarn run sync or npm run sync command for create tables in your DB

TODO LIST:

  • Fix: typestack/routing-controllers#273
  • Error middleware
  • if problem is solved, change routes by typeorm-routing-controllers-extensions
  • Create relations
  • Middleware JWT
  • Create unit tests
  • Log files ?
  • class-validator v0.9 doesn't work in Routing. The same problem IsUserAlreadyExist.ts issue #384
# downgrade #
"class-validator": "^0.8.1",

License

MIT License

Copyright (c) @yesworld