reactHonoStarterDupe
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v49View latest version
This interactive project guides you through Val Town basics using the editor and a live tracker.
β‘οΈ Get Set Up (Just 2 Steps!):
- Open Your Code: In the File Tree (left sidebar), make sure
backend/index.tsis selected. This is where you'll follow instructions and make small edits. - Open Your Tracker: Click the "Open HTTP endpoint" button (it looks like a link icon π near the top-right of the editor). This opens your Live Progress Tracker in a new browser tab. Keep this tab open!
Ready? Switch back to the backend/index.ts file in this editor window. Follow the instructions written in the code comments, starting near the top. Use your Tracker tab to see progress!
π Quick Jumps (Optional):
Know what you want to learn? Find the relevant comment block in backend/index.ts:
- Editing & Live Preview:
// STEP 2 - Saving Data (Blob Storage):
// STEP 3 - Sending Email:
// STEP 4 - Scheduled Tasks (Cron):
// STEP 5(Action is in the Tracker Tab)
β¨ Quick UI Tour:
As you work in this editor window, notice:
- File Tree (Left): Navigate your project files.
- Save Button (Top-Right): Saves your changes, making them live.
- Logs Pane (Bottom): Shows
console.logoutput and errors. Useful for debugging! - Environment Variables (Left Sidebar): Securely store secrets (API keys). Access with
Deno.env.get("..."). - "+" Button (Top-Right): Create new Vals (HTTP, Cron, Email, Scheduled).