To run this:
git clone https://github.com/rishi-raj-jain/epic-local
npm install
cp .env.example .env
npx prisma migrate reset
# Developement
npm run dev & npx reflect dev
The important bits are:
- Learn about Reflect rooms and auth
- Instead of fetching data via
loader
, data is fetched on the client side and mutations are authorized on the server so that they can run only for the authenticated user. /reflect
is an added endpoint that helps authorize and verify the user with jsonwebtokenroot.tsx
contains the criticial piece of code that fetches and creates a logged in user room for Reflect to make changes into
Ditch analysis paralysis and start shipping Epic Web apps.
This is an opinionated project starter and reference that allows teams to ship their ideas to production faster and on a more stable foundation based on the experience of Kent C. Dodds and contributors.
npx create-epic-app@latest
"The Epic Stack" by Kent C. Dodds
Read the docs (please 🙏).
- 🆘 Join the discussion on GitHub and the KCD Community on Discord.
- 💡 Create an idea discussion for suggestions.
- 🐛 Open a GitHub issue to report a bug.
Want to talk about the Epic Stack in a blog post or talk? Great! Here are some assets you can use in your material: EpicWeb.dev/brand
You rock 🪨