https://github.com/smakosh/next-prisma2-now
Next static and dynamic SSR + Prisma 2 + Postgres + Auth0 + Vercel
https://github.com/smakosh/next-prisma2-now
auth0 nextjs now postgresql prisma2 vercel
Last synced: about 2 months ago
JSON representation
Next static and dynamic SSR + Prisma 2 + Postgres + Auth0 + Vercel
- Host: GitHub
- URL: https://github.com/smakosh/next-prisma2-now
- Owner: smakosh
- Created: 2020-01-13T00:48:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T16:47:35.000Z (over 4 years ago)
- Last Synced: 2025-04-03T03:41:27.612Z (7 months ago)
- Topics: auth0, nextjs, now, postgresql, prisma2, vercel
- Language: TypeScript
- Homepage: https://prisma-test.now.sh/
- Size: 1.77 MB
- Stars: 31
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Next + Prisma 2 + Auth0 + Vercel
Example using Next and Prisma
1. on `index.tsx`, I'm using `getStaticProps` to fetch posts
2. on `posts.tsx`, I'm using `getServerSideProps` to fetch posts
3. on `api/posts.ts`, that's a serverless function that create a new post using Prisma clientTo be documented...