create
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.
index.ts
https://charmaine--5322ffa4313611f0a084569c3dd06744.web.val.run
A simple personal Customer Relationship Management (CRM) system built on Val Town.
- Store and manage contacts
- Track interactions with contacts (calls, emails, meetings)
- Search and filter contacts
- Add notes and reminders
βββ backend/
β βββ database/
β β βββ migrations.ts # Schema definitions
β β βββ queries.ts # DB query functions
β βββ routes/ # Route modules
β β βββ api.ts # API endpoints
β βββ index.ts # Main entry point
βββ frontend/
β βββ components/
β β βββ App.tsx # Main application component
β β βββ ContactList.tsx # List of contacts
β β βββ ContactDetail.tsx # Contact details view
β β βββ ContactForm.tsx # Add/edit contact form
β β βββ InteractionForm.tsx # Add interaction form
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend JS entry point
βββ shared/
βββ types.ts # Shared types and interfaces
- Visit the HTTP endpoint to access the CRM interface
- Add contacts with their details
- Record interactions with your contacts
- Search and filter to find specific contacts
- Backend: Hono, SQLite
- Frontend: React, Tailwind CSS
- Shared: TypeScript