Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 12 days 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 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T16:47:35.000Z (over 3 years ago)
- Last Synced: 2024-10-17T16:07:51.849Z (22 days ago)
- Topics: auth0, nextjs, now, postgresql, prisma2, vercel
- Language: TypeScript
- Homepage: https://prisma-test.now.sh/
- Size: 1.77 MB
- Stars: 31
- Watchers: 3
- 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...