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: v1View 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