Skip to content

A demo of offline + realtime first, epic-stack with Replicache.

Notifications You must be signed in to change notification settings

rishi-raj-jain/epic-local

Repository files navigation

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 jsonwebtoken
  • root.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

The Epic Stack


Watch Kent's Introduction to The Epic Stack

Epic Stack Talk slide showing Flynn Rider with knives, the text "I've been around and I've got opinions" and Kent speaking in the corner

"The Epic Stack" by Kent C. Dodds

Docs

Read the docs (please 🙏).

Support

Branding

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

Thanks

You rock 🪨

About

A demo of offline + realtime first, epic-stack with Replicache.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published