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.
- Host: GitHub
- URL: https://github.com/rishi-raj-jain/epic-local
- Owner: rishi-raj-jain
- Created: 2023-12-19T20:04:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-26T17:17:05.000Z (over 1 year ago)
- Last Synced: 2024-10-12T13:36:23.980Z (7 months ago)
- Topics: epic-stack, offline, realtime, remix, replicache
- Language: TypeScript
- Homepage:
- Size: 8.56 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```[](https://www.epicweb.dev/epic-stack)
[The Epic Stack](https://www.epicweb.dev/epic-stack)
## Watch Kent's Introduction to The Epic Stack
[](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 🪨