├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── README.md ├── jest.config.js ├── ormconfig.json ├── package.json ├── prettier.config.js ├── src ├── __tests__ │ ├── Transaction.spec.ts │ └── import_template.csv ├── app.ts ├── database │ └── index.ts ├── errors │ └── AppError.ts ├── models │ ├── Category.ts │ └── Transaction.ts ├── repositories │ └── TransactionsRepository.ts ├── routes │ ├── index.ts │ └── transactions.routes.ts ├── server.ts └── services │ ├── CreateTransactionService.ts │ ├── DeleteTransactionService.ts │ └── ImportTransactionsService.ts ├── tmp └── .gitkeep ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | /*.js 2 | node_modules 3 | dist 4 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/jest.config.js -------------------------------------------------------------------------------- /ormconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/ormconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/prettier.config.js -------------------------------------------------------------------------------- /src/__tests__/Transaction.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/__tests__/Transaction.spec.ts -------------------------------------------------------------------------------- /src/__tests__/import_template.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/__tests__/import_template.csv -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/database/index.ts -------------------------------------------------------------------------------- /src/errors/AppError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/errors/AppError.ts -------------------------------------------------------------------------------- /src/models/Category.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/models/Category.ts -------------------------------------------------------------------------------- /src/models/Transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/models/Transaction.ts -------------------------------------------------------------------------------- /src/repositories/TransactionsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/repositories/TransactionsRepository.ts -------------------------------------------------------------------------------- /src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/routes/index.ts -------------------------------------------------------------------------------- /src/routes/transactions.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/routes/transactions.routes.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/services/CreateTransactionService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/services/CreateTransactionService.ts -------------------------------------------------------------------------------- /src/services/DeleteTransactionService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/services/DeleteTransactionService.ts -------------------------------------------------------------------------------- /src/services/ImportTransactionsService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/src/services/ImportTransactionsService.ts -------------------------------------------------------------------------------- /tmp/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/gostack-template-typeorm-upload/HEAD/yarn.lock --------------------------------------------------------------------------------