Public
Like
my-first-val
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.
02_http.tsx
https://Mouhak--c049a61641a611f0b07e76b3cceeab13.web.val.run
A comprehensive application for digital marketing agencies to manage customer projects with real-time communication and project updates.
- Customer Portal: Customers can view and update their project details
- Project Management: Track project status, milestones, and deliverables
- Messaging System: Real-time communication between customers and agency
- File Sharing: Upload and share project assets
- Progress Tracking: Visual project timeline and status updates
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema setup
β β βββ queries.ts # Database query functions
β βββ routes/
β β βββ auth.ts # Authentication routes
β β βββ projects.ts # Project management routes
β β βββ messages.ts # Messaging system routes
β β βββ static.ts # Static file serving
β βββ index.ts # Main API entry point
βββ frontend/
β βββ components/
β β βββ App.tsx # Main application component
β β βββ ProjectDashboard.tsx
β β βββ MessageCenter.tsx
β β βββ ProjectForm.tsx
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Custom styles
βββ shared/
βββ types.ts # Shared TypeScript types
βββ utils.ts # Shared utility functions
- The application runs on the backend HTTP endpoint
- Customers can access their projects via unique project IDs
- Agency staff can manage all projects and communicate with customers
- All data is stored in SQLite with automatic migrations
GET /- Customer portal interfaceGET /api/projects- List all projectsPOST /api/projects- Create new projectPUT /api/projects/:id- Update projectGET /api/messages/:projectId- Get project messagesPOST /api/messages- Send new message