reflect-todo
reflect-todo copied to clipboard
React-only todo sample for Reflect
reflect-todo
TodoMVC on Reflect.
Demo
Running live at https://reflect-todo.vercel.app/.
Setup
npm install
Develop
# start the backend
npx reflect dev
# In a separate terminal, start the frontend
VITE_REFLECT_SERVER=http://127.0.0.1:8080/ npm run dev
Publish
Then:
# Publish server to reflect.net
npx reflect publish --app reflect-todo
# Publish UI somewhere, for example Vercel.
npx vercel
# Note: You'll have to set the VITE_REFLECT_SERVER env
# var to whatever `npx reflect publish` printed.