0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/start
Shruti Kapoor ba8a1c836d
Adding Tutorial for Reading and Writing a File (#4089)
# Add DevJokes Tutorial: Reading and Writing Files
<img width="1318" alt="image"
src="https://github.com/user-attachments/assets/e6284dea-9596-42e5-b37a-c29ed56fa934"
/>

## Description
Adds a tutorial showing how to build a full-stack DevJokes app with
TanStack Start. Users learn to create server functions for reading and
writing to files, build React components, and implement data fetching
with TanStack Router.

## Key Features
- Server functions with `createServerFn`
- File-based data storage with Node.js `fs`
- Form handling and data validation
- Data refreshing with `router.invalidate()`
- Complete UI with Tailwind CSS

## Demo
https://youtu.be/zd0rtKbtlgU

## Reference
Complete code available at: https://github.com/shrutikapoor08/devjokes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
History 2025-05-05 08:23:49 -06:00
..
framework Adding Tutorial for Reading and Writing a File (#4089) 2025-05-05 08:23:49 -06:00
config.json Adding Tutorial for Reading and Writing a File (#4089) 2025-05-05 08:23:49 -06:00