This is a project used to demonstrate the two approaches of server state management. You can checkout
the branches in numerical order to see the progression of the project. Branch 1-basic-usestate
is the starting point and showcasing server state management with useState
. Branch 5-usequery
showcases minimal server state management with @tanstack/react-query
library.
-
The server requires
bun
runtime. Check out the bun website for installation instructions. -
Start the server
cd server npm install npm start
-
Start the client
cd client npm install npm run dev