├── .gitignore ├── .mocharc.js ├── .nycrc ├── .travis.yml ├── Dockerfile ├── docker-compose.yml ├── package.json ├── readme.md ├── scripts └── mocha │ └── register.js ├── src ├── Server.ts ├── controllers │ ├── passport │ │ ├── PassportCtrl.integration.spec.ts │ │ └── PassportCtrl.ts │ └── users │ │ └── UsersCtrl.ts ├── entities │ └── User.ts ├── index.ts ├── models │ ├── Credentials.ts │ └── UserCreation.ts ├── protocols │ ├── LoginLocalProtocol.spec.ts │ ├── LoginLocalProtocol.ts │ └── SignupLocalProtocol.ts └── repositories │ └── UserRepository.ts ├── test └── helpers │ └── bootstrapServer.ts ├── tsconfig.json ├── tslint.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/.mocharc.js -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/.nycrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/Dockerfile -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/readme.md -------------------------------------------------------------------------------- /scripts/mocha/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/scripts/mocha/register.js -------------------------------------------------------------------------------- /src/Server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/Server.ts -------------------------------------------------------------------------------- /src/controllers/passport/PassportCtrl.integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/controllers/passport/PassportCtrl.integration.spec.ts -------------------------------------------------------------------------------- /src/controllers/passport/PassportCtrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/controllers/passport/PassportCtrl.ts -------------------------------------------------------------------------------- /src/controllers/users/UsersCtrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/controllers/users/UsersCtrl.ts -------------------------------------------------------------------------------- /src/entities/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/entities/User.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/models/Credentials.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/models/Credentials.ts -------------------------------------------------------------------------------- /src/models/UserCreation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/models/UserCreation.ts -------------------------------------------------------------------------------- /src/protocols/LoginLocalProtocol.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/protocols/LoginLocalProtocol.spec.ts -------------------------------------------------------------------------------- /src/protocols/LoginLocalProtocol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/protocols/LoginLocalProtocol.ts -------------------------------------------------------------------------------- /src/protocols/SignupLocalProtocol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/protocols/SignupLocalProtocol.ts -------------------------------------------------------------------------------- /src/repositories/UserRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/src/repositories/UserRepository.ts -------------------------------------------------------------------------------- /test/helpers/bootstrapServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/test/helpers/bootstrapServer.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsedio/tsed-example-typeorm/HEAD/yarn.lock --------------------------------------------------------------------------------