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