惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
博客园_首页
雷峰网
雷峰网
V
Visual Studio Blog
爱范儿
爱范儿
A
About on SuperTechFans
量子位
N
Netflix TechBlog - Medium
Microsoft Security Blog
Microsoft Security Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
S
SegmentFault 最新的问题
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
User Guide and System Manual of Food Ordering & Delivery ...
Pakawat Udom · 2026-04-29 · via DEV Community

User Guide

🧑‍🍳 System Overview
The Food Ordering & Delivery System is a web-based application designed to simplify online food ordering, payment, and delivery.

The system supports three main user roles:
Customer (User) – order food and make payments
Restaurant Owner – manage menus and orders
Rider (Delivery) – accept and deliver orders

Each role has specific functionalities to support their workflow within the platform.

🔐 1. Account Management
1.1 User Registration & Login
For All Users (Customer, Owner, Rider)
Navigate to the main page

Click Register if you don’t have an account
Enter:
Name
Email
Password
Click Register

For login:
Go to Login Page
Enter credentials
Click Login

1.2 Update Account Information
Steps:
Click Setting
Select Edit Profile
Update your information
Click Save Changes

🍔 2. Food Ordering (Customer)
2.1 Browse Restaurants & Menu
Navigate to Browse Page
Select a restaurant
View menu items

2.2 Add to Cart & Checkout
Click Add to Cart
Go to Cart Page
Click Checkout

💳 3. Payment System (PromptPay QR)
3.1 Make Payment
System generates QR Code
Scan QR using banking app
Enter the exact amount
Upload payment slip

3.2 Payment Rules
Payment must be completed within 10–15 minutes
If not completed → order becomes FAILED

📦 4. Order Status (Customer View)
Status Description
WAITING Waiting for payment
PAID Payment confirmed
COOKING Preparing food
WAIT_FOR_DELIVER Waiting for rider
DELIVERING On the way
COMPLETED Delivered
CANCELLED Cancelled by user
FAILED Payment expired

🚚 5. Delivery Process (Rider)
5.1 Accept Job
Navigate to Available Jobs
Click Accept Order

5.2 Deliver Order
Status updates to DELIVERING
Deliver food to customer
Click Complete Order

🏪 6. Restaurant Management (Owner)
6.1 Add Menu Items
Go to Dashboard
Click Add Menu
Enter:
Name
Price
Image
Preparation Time
Click Save

6.2 Manage Orders
View incoming orders
Update status:
COOKING
WAIT_FOR_DELIVER

⚠️ 7. Troubleshooting
Issue Solution
Payment not updated Wait or refresh
Upload failed Check file format
Order expired Place new order

🍽 Food Ordering & Delivery System - System Manual

📑 Table of Contents
System Overview
User Roles & Access Control
Functional Specifications
 3.1 Account Management
 3.2 Order System
 3.3 Payment System
 3.4 Delivery System
System Architecture Overview
API and Technology Stack
System Requirements
Security Considerations
Maintenance and Scalability

🧾 System Overview
The system connects customers, restaurants, and riders into a single platform.

Customers place orders
Restaurants prepare food
Riders deliver orders

🔐 User Roles & Access Control
👤 Customer
Register & login
Browse menus
Place orders
Upload payment slips
Track orders

🏪 Owner
Manage menu
View restaurant orders
Update order status

🚴 Rider
View available jobs
Accept delivery tasks
Complete deliveries

⚙️ Functional Specifications
3.1 👤 Account Management
User registration
JWT authentication
Profile management

3.2 🛒 Order System
Add items to cart
Checkout process
Order creation
Order status tracking

3.3 💳 Payment System
Generate PromptPay QR
Upload receipt
Auto verification
Payment expiration (10–15 min)

3.4 🚚 Delivery System
Rider job assignment
Accept order
Deliver & complete

🏗 System Architecture Overview
Frontend: Next.js (Tailwind CSS)
Backend: NestJS (Node.js)
Database: PostgreSQL
Authentication: JWT

🌐 API and Technology Stack
API Type: RESTful API
Frontend: Next.js + TypeScript
Backend: NestJS
Database: PostgreSQL
ORM: Sequelize

🧰 Server-Side Requirements
6.1.1 Server-Side
Processor: Intel(R) Core(TM) i7-7700HQ CPU@2.80GHz 2.81 GHz
Installed memory (RAM): 8.00 GB (7.89 GB usable)
System type: 64-bit Operating System, x64-based process
Operating System: Windows 10

6.1.2 Client-Side Requirements
CPU: Intel i5 / Ryzen 5
RAM: 8GB+
Browser: Chrome
Internet: 10 Mbps

6.2 Software Development Specifications
Backend: Node.js (NestJS)
Frontend: Next.js
Database: PostgreSQL
CI/CD: GitHub Actions

Code Repositories
The project codebase is maintained across the following repositories:

🔧 Backend - Node.js(Nest.js): https://github.com/Fewlnwza/Project-Stack-Over-Food/tree/master/backend
🖥 Frontend - React.js(Next.js): https://github.com/Fewlnwza/Project-Stack-Over-Food/tree/master/frontend

Enter fullscreen mode Exit fullscreen mode

🔒 Security Considerations
JWT Authentication
Role-based access control
HTTPS encryption
Input validation
Duplicate payment detection

🔄 Maintenance and Future Scalability
Maintenance
Scheduled database backups
Monitoring payment system
API performance checks
Future Improvements
Real-time tracking
Payment gateway integration