├── .commitlintrc.ts ├── .czrc ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ └── config.yml ├── pull_request_template.md └── workflows │ ├── actions │ ├── deploy-vercel │ │ └── action.yml │ └── setup_node-cache_dep-install_dep │ │ └── action.yml │ ├── build.yml │ ├── deploy-preview.yml │ ├── deploy-production.yml │ ├── lint.yml │ ├── test-be-integration.yml │ └── tsc.yml ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .lintstagedrc ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── database └── .gitkeep ├── docker-compose.yml ├── envs ├── db-init.env ├── dev.env ├── prod.env └── stage.env ├── jest.config.ts ├── jest.setup.ts ├── misc ├── heisenberg.png └── user-images │ ├── gus.jpg │ ├── hank.jpg │ ├── heisenberg.jpg │ ├── jesse.jpg │ ├── jimmy.jpg │ ├── mike.jpg │ ├── sky.jpg │ └── tio.jpg ├── next-env.d.ts ├── next.config.js ├── package.json ├── public ├── favicon.ico ├── heisenberg.png ├── missing-piece.png ├── no-user.jpg └── teddy-bear.png ├── scripts ├── db-init.sh └── wait-for-it.sh ├── src ├── common │ ├── components │ │ ├── Breadcrumbs │ │ │ └── index.tsx │ │ ├── Input │ │ │ └── index.tsx │ │ ├── Link │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── Progress │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── Select │ │ │ └── index.tsx │ │ ├── Table │ │ │ ├── index.tsx │ │ │ └── table.module.css │ │ └── index.ts │ ├── consts │ │ ├── paths.ts │ │ └── pathsApiV1.ts │ ├── styles │ │ └── globals.css │ ├── types │ │ ├── ProcessEnv.d.ts │ │ ├── apiV1.ts │ │ └── styles.d.ts │ └── utils │ │ ├── client.ts │ │ └── usePageLoading.ts ├── controllers │ ├── batches │ │ ├── destroy.test.ts │ │ ├── destroy.ts │ │ ├── show.test.ts │ │ └── show.ts │ ├── databases │ │ └── seed.ts │ └── users │ │ ├── create.test.ts │ │ ├── create.ts │ │ ├── destroy.test.ts │ │ ├── destroy.ts │ │ ├── list.test.ts │ │ ├── list.ts │ │ ├── show.test.ts │ │ └── show.ts ├── modules │ ├── BatchesPage │ │ └── index.tsx │ ├── HomePage │ │ └── index.tsx │ ├── Status404Page │ │ └── index.tsx │ ├── Status500Page │ │ └── index.tsx │ ├── UserAddPage │ │ ├── handleUserCreate.ts │ │ └── index.tsx │ ├── UserPage │ │ └── index.tsx │ ├── UsersPage │ │ ├── components │ │ │ └── UserCard │ │ │ │ ├── index.tsx │ │ │ │ └── styles.module.css │ │ └── index.tsx │ └── index.ts ├── pages │ ├── 404.tsx │ ├── 500.tsx │ ├── _app.tsx │ ├── api │ │ └── v1 │ │ │ ├── batches │ │ │ └── [id].ts │ │ │ ├── databases │ │ │ └── index.ts │ │ │ └── users │ │ │ ├── [username].ts │ │ │ └── index.ts │ ├── batches.tsx │ ├── index.tsx │ └── users │ │ ├── [username].tsx │ │ ├── add.tsx │ │ └── index.tsx └── prisma │ ├── migrations │ ├── 20220721150213_init │ │ └── migration.sql │ └── migration_lock.toml │ ├── prismaClient.ts │ ├── schema.prisma │ └── seed │ ├── batches.ts │ ├── index.ts │ ├── suppliers.ts │ └── users.ts ├── tsconfig.json └── tsconfigs ├── tsconfig.base.json ├── tsconfig.dev.json ├── tsconfig.prisma-seed.json └── tsconfig.prod.json /.commitlintrc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.commitlintrc.ts -------------------------------------------------------------------------------- /.czrc: -------------------------------------------------------------------------------- 1 | { 2 | "path": "node_modules/cz-conventional-changelog" 3 | } 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/actions/deploy-vercel/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/actions/deploy-vercel/action.yml -------------------------------------------------------------------------------- /.github/workflows/actions/setup_node-cache_dep-install_dep/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/actions/setup_node-cache_dep-install_dep/action.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-preview.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/deploy-preview.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-production.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/deploy-production.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/test-be-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/test-be-integration.yml -------------------------------------------------------------------------------- /.github/workflows/tsc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.github/workflows/tsc.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | # npm run test-be-unit -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.lintstagedrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .next -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/README.md -------------------------------------------------------------------------------- /database/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /envs/db-init.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/envs/db-init.env -------------------------------------------------------------------------------- /envs/dev.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/envs/dev.env -------------------------------------------------------------------------------- /envs/prod.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/envs/prod.env -------------------------------------------------------------------------------- /envs/stage.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/envs/stage.env -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/jest.config.ts -------------------------------------------------------------------------------- /jest.setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/jest.setup.ts -------------------------------------------------------------------------------- /misc/heisenberg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/heisenberg.png -------------------------------------------------------------------------------- /misc/user-images/gus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/gus.jpg -------------------------------------------------------------------------------- /misc/user-images/hank.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/hank.jpg -------------------------------------------------------------------------------- /misc/user-images/heisenberg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/heisenberg.jpg -------------------------------------------------------------------------------- /misc/user-images/jesse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/jesse.jpg -------------------------------------------------------------------------------- /misc/user-images/jimmy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/jimmy.jpg -------------------------------------------------------------------------------- /misc/user-images/mike.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/mike.jpg -------------------------------------------------------------------------------- /misc/user-images/sky.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/sky.jpg -------------------------------------------------------------------------------- /misc/user-images/tio.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/misc/user-images/tio.jpg -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/heisenberg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/public/heisenberg.png -------------------------------------------------------------------------------- /public/missing-piece.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/public/missing-piece.png -------------------------------------------------------------------------------- /public/no-user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/public/no-user.jpg -------------------------------------------------------------------------------- /public/teddy-bear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/public/teddy-bear.png -------------------------------------------------------------------------------- /scripts/db-init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/scripts/db-init.sh -------------------------------------------------------------------------------- /scripts/wait-for-it.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/scripts/wait-for-it.sh -------------------------------------------------------------------------------- /src/common/components/Breadcrumbs/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Breadcrumbs/index.tsx -------------------------------------------------------------------------------- /src/common/components/Input/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Input/index.tsx -------------------------------------------------------------------------------- /src/common/components/Link/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Link/index.tsx -------------------------------------------------------------------------------- /src/common/components/Link/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Link/styles.module.css -------------------------------------------------------------------------------- /src/common/components/Progress/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Progress/index.tsx -------------------------------------------------------------------------------- /src/common/components/Progress/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Progress/styles.module.css -------------------------------------------------------------------------------- /src/common/components/Select/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Select/index.tsx -------------------------------------------------------------------------------- /src/common/components/Table/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Table/index.tsx -------------------------------------------------------------------------------- /src/common/components/Table/table.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/Table/table.module.css -------------------------------------------------------------------------------- /src/common/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/components/index.ts -------------------------------------------------------------------------------- /src/common/consts/paths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/consts/paths.ts -------------------------------------------------------------------------------- /src/common/consts/pathsApiV1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/consts/pathsApiV1.ts -------------------------------------------------------------------------------- /src/common/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/styles/globals.css -------------------------------------------------------------------------------- /src/common/types/ProcessEnv.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/types/ProcessEnv.d.ts -------------------------------------------------------------------------------- /src/common/types/apiV1.ts: -------------------------------------------------------------------------------- 1 | export type ResponseError = { 2 | message: string; 3 | }; 4 | -------------------------------------------------------------------------------- /src/common/types/styles.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.css'; 2 | -------------------------------------------------------------------------------- /src/common/utils/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/utils/client.ts -------------------------------------------------------------------------------- /src/common/utils/usePageLoading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/common/utils/usePageLoading.ts -------------------------------------------------------------------------------- /src/controllers/batches/destroy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/batches/destroy.test.ts -------------------------------------------------------------------------------- /src/controllers/batches/destroy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/batches/destroy.ts -------------------------------------------------------------------------------- /src/controllers/batches/show.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/batches/show.test.ts -------------------------------------------------------------------------------- /src/controllers/batches/show.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/batches/show.ts -------------------------------------------------------------------------------- /src/controllers/databases/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/databases/seed.ts -------------------------------------------------------------------------------- /src/controllers/users/create.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/create.test.ts -------------------------------------------------------------------------------- /src/controllers/users/create.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/create.ts -------------------------------------------------------------------------------- /src/controllers/users/destroy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/destroy.test.ts -------------------------------------------------------------------------------- /src/controllers/users/destroy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/destroy.ts -------------------------------------------------------------------------------- /src/controllers/users/list.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/list.test.ts -------------------------------------------------------------------------------- /src/controllers/users/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/list.ts -------------------------------------------------------------------------------- /src/controllers/users/show.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/show.test.ts -------------------------------------------------------------------------------- /src/controllers/users/show.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/controllers/users/show.ts -------------------------------------------------------------------------------- /src/modules/BatchesPage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/BatchesPage/index.tsx -------------------------------------------------------------------------------- /src/modules/HomePage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/HomePage/index.tsx -------------------------------------------------------------------------------- /src/modules/Status404Page/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/Status404Page/index.tsx -------------------------------------------------------------------------------- /src/modules/Status500Page/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/Status500Page/index.tsx -------------------------------------------------------------------------------- /src/modules/UserAddPage/handleUserCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/UserAddPage/handleUserCreate.ts -------------------------------------------------------------------------------- /src/modules/UserAddPage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/UserAddPage/index.tsx -------------------------------------------------------------------------------- /src/modules/UserPage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/UserPage/index.tsx -------------------------------------------------------------------------------- /src/modules/UsersPage/components/UserCard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/UsersPage/components/UserCard/index.tsx -------------------------------------------------------------------------------- /src/modules/UsersPage/components/UserCard/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/UsersPage/components/UserCard/styles.module.css -------------------------------------------------------------------------------- /src/modules/UsersPage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/UsersPage/index.tsx -------------------------------------------------------------------------------- /src/modules/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/modules/index.ts -------------------------------------------------------------------------------- /src/pages/404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/404.tsx -------------------------------------------------------------------------------- /src/pages/500.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/500.tsx -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/api/v1/batches/[id].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/api/v1/batches/[id].ts -------------------------------------------------------------------------------- /src/pages/api/v1/databases/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/api/v1/databases/index.ts -------------------------------------------------------------------------------- /src/pages/api/v1/users/[username].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/api/v1/users/[username].ts -------------------------------------------------------------------------------- /src/pages/api/v1/users/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/api/v1/users/index.ts -------------------------------------------------------------------------------- /src/pages/batches.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/batches.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/users/[username].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/users/[username].tsx -------------------------------------------------------------------------------- /src/pages/users/add.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/users/add.tsx -------------------------------------------------------------------------------- /src/pages/users/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/pages/users/index.tsx -------------------------------------------------------------------------------- /src/prisma/migrations/20220721150213_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/migrations/20220721150213_init/migration.sql -------------------------------------------------------------------------------- /src/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /src/prisma/prismaClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/prismaClient.ts -------------------------------------------------------------------------------- /src/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/schema.prisma -------------------------------------------------------------------------------- /src/prisma/seed/batches.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/seed/batches.ts -------------------------------------------------------------------------------- /src/prisma/seed/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/seed/index.ts -------------------------------------------------------------------------------- /src/prisma/seed/suppliers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/seed/suppliers.ts -------------------------------------------------------------------------------- /src/prisma/seed/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/src/prisma/seed/users.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfigs/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/tsconfigs/tsconfig.base.json -------------------------------------------------------------------------------- /tsconfigs/tsconfig.dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/tsconfigs/tsconfig.dev.json -------------------------------------------------------------------------------- /tsconfigs/tsconfig.prisma-seed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/tsconfigs/tsconfig.prisma-seed.json -------------------------------------------------------------------------------- /tsconfigs/tsconfig.prod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkosir/prisma-next-typescript/HEAD/tsconfigs/tsconfig.prod.json --------------------------------------------------------------------------------