Skip to content

Commit

Permalink
feat!: add prisma as counter
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorusclarence committed Sep 2, 2022
1 parent 490276f commit 3ba27d8
Show file tree
Hide file tree
Showing 23 changed files with 3,669 additions and 90 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env
.env.local
.env.development.local
.env.test.local
Expand Down
2 changes: 1 addition & 1 deletion .vscode/typescriptreact.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"prefix": "napi",
"body": [
"import { NextApiRequest, NextApiResponse } from 'next';\n",
"export default async function ${1:${TM_FILENAME_BASE}}(req: NextApiRequest, res: NextApiResponse) {",
"export default async function handler(req: NextApiRequest, res: NextApiResponse) {",
" if (req.method === 'GET') {",
" res.status(200).json({ name: 'Bambang' });",
" } else {",
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@feedback-fish/react": "^1.2.1",
"@giscus/react": "^1.1.2",
"@headlessui/react": "^1.6.4",
"@prisma/client": "^4.3.1",
"axios": "^0.24.0",
"cloudinary-build-url": "^0.2.4",
"clsx": "^1.1.1",
Expand Down Expand Up @@ -53,6 +54,7 @@
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/typography": "^0.5.2",
"@types/lodash": "^4.14.182",
"@types/node": "^18.7.14",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.45",
"@types/react-copy-to-clipboard": "^5.0.2",
Expand All @@ -78,12 +80,14 @@
"postcss": "^8.4.14",
"prettier": "^2.6.2",
"prettier-plugin-tailwindcss": "^0.1.11",
"prisma": "^4.3.1",
"reading-time": "^1.5.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-prism-plus": "^1.4.0",
"rehype-slug": "^5.0.1",
"remark-gfm": "^3.0.1",
"tailwindcss": "^3.1.4",
"ts-node": "^10.9.1",
"typescript": "^4.7.2"
},
"lint-staged": {
Expand All @@ -94,5 +98,8 @@
"src/**/*.{json,css,scss,md,mdx}": [
"prettier -w"
]
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
}
}
Loading

0 comments on commit 3ba27d8

Please sign in to comment.