crm_OBUO_FARMS
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: v14View latest version
A simple CRM application for managing fish farming orders and client information.
- Order form for collecting client information and order details
- SQLite database for storing orders
- Automatic email confirmations to clients
- Dashboard for viewing past orders
- RESTful API for order management
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Database operations
β βββ routes/
β β βββ orders.ts # Order API endpoints
β β βββ static.ts # Static file serving
β βββ index.ts # Main Hono app
βββ frontend/
β βββ components/
β β βββ App.tsx # Main React app
β β βββ OrderForm.tsx # Order submission form
β β βββ Dashboard.tsx # Orders dashboard
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Styles
βββ shared/
βββ types.ts # Shared TypeScript types
POST /api/orders- Create a new orderGET /api/orders- Get all ordersGET /api/orders/:id- Get specific orderGET /- Main dashboard page
Orders table includes:
- Client information (name, phone, email)
- Order details (type, quantity, delivery date)
- Notes and timestamps