You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/getting-started-with-hydroserver-ts.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Getting Started with hydroserver.ts
2
2
3
-
This tutorial is for developers who want to build HydroServer-powered apps without hand-writing raw API calls.
3
+
This simple demo is for developers who want to build HydroServer-powered apps without hand-writing raw API calls.
4
4
5
5
We’ll use the hydroserver.ts API client to build a small browser app that will:
6
6
@@ -9,6 +9,10 @@ We’ll use the hydroserver.ts API client to build a small browser app that will
9
9
10
10
The API client is written in TypeScript and gives you typed models and typed API methods end-to-end, but of course using the typing features is optional so vanilla JavaScript will work along side the client just fine, along with your choice of frontend framework.
@@ -177,3 +169,7 @@ Open the local Vite URL (usually `http://localhost:5173`) and you should see the
177
169
- If your frontend is served by HydroServer itself, keep `host: ""` and remove the dev proxy.
178
170
- If your frontend and HydroServer are on different origins, configure CORS and CSRF/session cookie settings on the HydroServer deployment.
179
171
- If you prefer explicit API client instances (instead of the shared `hs` export), you can use `HydroServer.initialize(...)` and pass the instance through your app.
172
+
173
+
## Next step
174
+
175
+
Ready for more client patterns? Continue with the hydroserver.ts how-to guide: [Manage Data With the TypeScript Client](/how-to/typescript-client/typescript-client-examples).
0 commit comments