- Notifications
You must be signed in to change notification settings - Fork10
Resources for Jed's Prisma Day 2021 Workshop
License
keystonejs/prisma-day-2021-workshop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the sample app built for Jed's Prisma Day 2021 Workshop.
It's both the front and back-end for a Blog built with Prisma, KeystoneJS, GraphQL, Next.js and Tailwind.
The App includes public auth and signup, role-based access control, and custom design-system based components in the Content field. Content authors can embed Polls in post content, and authenticated visitors can vote on responses.
Keystone 6 is the next-gen CMS for Node.js built with Prisma, Apollo Server, and Next.js.
Fully open source, it's not just a great headless CMS, it's also a powerful API server and app back-end.
Learn more atkeystonejs.com
Make sure you have:
- Node v12 or v14
- Yarn
- Postgres
Then, clone this repo and runyarn
to install the dependencies.
Start the API Server first by runningyarn api:dev
. This will start Keystone's GraphQL API and Admin UI onlocalhost:3000
The first time you open that link you will be prompted to create a new user.
With the API running, in a separate terminal runyarn site:dev
. This will start the front-end Next.js app onlocalhost:8000
The Keystone and Next.js app are colocated in the same repo for ease of demonstration, but you'd often separate them into different packages in a monorepo or even separate repositories.
The back-end files include:
keystone.tsschema.graphql (generated)schema.prisma (generated)schema.tsschema/*
The front-end files include:
components/*pages/*next-env.d.tsnext.config.jspostcss.config.jstailwind.config.jsutils.js
Copyright (c) 2021 Thinkmill Labs Pty Ltd. Licensed under the MIT License.
About
Resources for Jed's Prisma Day 2021 Workshop
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.