Study how to build a complete food delivery REST API with Node.js, Express, and MongoDB by reading working code.
Pair with the companion frontend project to run a full-stack Ele.me clone locally and trace requests from UI to database.
Learn how features like distance-based restaurant filtering, coupon codes, and order management are implemented in an Express backend.
Requires MongoDB installed locally and importing the provided database backup file to get realistic sample data.
node-elm is a personal practice project that recreates the backend server for a Chinese food delivery app similar to the public Ele.me platform. The author built it to match the same API structure that the real Ele.me app uses, making it a companion to a separately published frontend project that mimics the Ele.me user interface. The backend is built with Node.js (a JavaScript runtime for servers), Express (a framework for handling web requests), and MongoDB (a database). It provides more than 60 API endpoints covering everything a food delivery app needs: user registration and login, browsing restaurants, filtering and sorting by distance or rating, adding items to a cart, placing orders, managing delivery addresses, applying coupon codes, and an admin panel for managing restaurants and food items. The project is intended as a learning reference, not a commercial product. It was developed on macOS and deployed on an Alibaba Cloud server running CentOS. A downloadable database backup file is provided so that anyone cloning the project can populate it with sample restaurant and food data and see the app working with realistic content. The README is written in Chinese. The author notes that the project is purely a personal experiment and should not be used for any commercial purpose. The code is licensed under the GPL.
← bailicangdu on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.