• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
fxfr

fxfr

flixdb

Unlisted
Like
flixdb
Home
Code
4
backend
2
frontend
3
shared
1
README.md
Branches
2
Pull requests
Remixes
History
Environment variables
1
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.
Sign up now
Code
/
backend
/
README.md
Code
/
backend
/
README.md
Search
7/23/2025
Viewing readonly version of main branch: v15
View latest version
README.md

Backend API

Hono-based API server that provides authentication and CRUD operations for notes using PocketBase.

Environment Variables

  • POCKETBASE_URL - Your PocketBase instance URL

API Endpoints

Authentication

  • POST /api/auth/login - Login with email/password
  • POST /api/auth/logout - Logout (requires auth)
  • GET /api/auth/me - Get current user info (requires auth)

Notes

  • GET /api/notes - Get all notes for authenticated user
  • POST /api/notes - Create a new note
  • PUT /api/notes/:id - Update a note
  • DELETE /api/notes/:id - Delete a note

All note endpoints require authentication via Bearer token in Authorization header.

Static Files

  • / - Serves the main HTML page
  • /frontend/* - Serves frontend React components
  • /shared/* - Serves shared TypeScript types
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.