An open API service indexing awesome lists of open source software.

https://github.com/rishi-raj-jain/epic-local

A demo of offline + realtime first, epic-stack with Replicache.
https://github.com/rishi-raj-jain/epic-local

epic-stack offline realtime remix replicache

Last synced: 27 days ago
JSON representation

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

Awesome Lists containing this project

README

        

To run this:

```bash
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](https://hello.reflect.net/concepts/rooms) and
[auth](https://hello.reflect.net/how/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


The Epic Stack 🚀



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.


```sh
npx create-epic-app@latest
```

[![The Epic Stack](https://github-production-user-asset-6210df.s3.amazonaws.com/1500684/246885449-1b00286c-aa3d-44b2-9ef2-04f694eb3592.png)](https://www.epicweb.dev/epic-stack)

[The Epic Stack](https://www.epicweb.dev/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](https://github-production-user-asset-6210df.s3.amazonaws.com/1500684/277818553-47158e68-4efc-43ae-a477-9d1670d4217d.png)](https://www.epicweb.dev/talks/the-epic-stack)

["The Epic Stack" by Kent C. Dodds](https://www.epicweb.dev/talks/the-epic-stack)

## Docs

[Read the docs](https://github.com/epicweb-dev/epic-stack/blob/main/docs)
(please 🙏).

## Support

- 🆘 Join the
[discussion on GitHub](https://github.com/epicweb-dev/epic-stack/discussions)
and the [KCD Community on Discord](https://kcd.im/discord).
- 💡 Create an
[idea discussion](https://github.com/epicweb-dev/epic-stack/discussions/new?category=ideas)
for suggestions.
- 🐛 Open a [GitHub issue](https://github.com/epicweb-dev/epic-stack/issues) to
report a bug.

## 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](https://epicweb.dev/brand)

## Thanks

You rock 🪨