# 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>
Just a quick note to prevent hitting 404s where the export needs to be named `APIRoute`.
---------
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Mentions of this being experimental in
- overview page (first in the docs)
- readme of solid-start package
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
There are broken links in the Tanstack Start "Build from Scratch: The
Router Configuration" section.
I believe this should goes into Tanstack Router documentation.
verbatimModuleSyntax can cause server bundles to quietly leak into
client bundles via exported types. It is an easy mistake to make that
can be _very_ difficult to debug.
Inspired by #3401
Co-authored-by: ryan-callahan-edo <ryan.callahan@edoinc.com>
Fixes global middleware via a new `app/global-middleware.ts` file
(configurable path) that is side-loaded automatically into the client
and server-fn environment to ensure registerGlobalMiddleware will run in
both environments
Fixes#3315
---------
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
* refactor: remove clientAfter
* perf(start): add middleware types interface to avoid structural comparison
* docs(start): update to include inferring context from server to client