This template provides a ready-to-go setup to start building useful apps with Fireproof, React, and Vite.
Develop with npm start
and build with npm run build
. It should be able to deploy to any static host.
Assuming you want to build a real app from this, the first thing you want to do it think about how to map your app onto the data flow of this scaffold.
There are three main logical entities in this scaffold:
Feel free to go beyond this rudimentary data model, or to simplify it if you don't need all three layers. The sharing management is the part that will be the most in common with other apps, so you should probably share your changes here with the community.
Edit routes in App.tsx
, the copy in Home.tsx
, and the sidebar in Sidebar.tsx
. This starter kit ships with a Login
component and a Topics
component with Items
, which you can rename and use as a starting point for your own app's data.
A poll manager for PartyKit's polls sketch: