English | 简体中文
A background system built on node.js + mongodb provides interface services for [nuxt-elm] (https://github.com/EasyTuan/nuxt-elm).
In case of poor network, please move to [Domestic Mirror Acceleration Node] (https://gitee.com/easytuan/node-elm-api)
[Front URL please poke here] (https://elm.caibowen.net/) (please preview with chrome phone mode)
Interface document address(Based on apidoc)
nodejs + express + mongodb + mongoose + pm2
git clone git@github.com:EasyTuan/node-elm-api.git
cd nuxt-elm
npm install
npm run dev
# Development
npm run dev
# Start mongodb(Make sure mongodb is installed)
npm run mongod
# Open the browser GUI interface to view mongodb (default port 1234)
npm run mongo
# Generate an api document (based on apidoc)
npm run doc
# Production deployment (pm2 process daemon)
npm run start
- Merchant list -- finished
- Shopping cart -- finished
- Restaurant food list -- finished
- Store evaluation -- finished
- Business details -- finished
- log in Register -- finished
- change Password -- finished
- Personal center -- finished
- Red envelope -- finished
- Shipping address -- finished
├── config
│ ├── default.js
│ └── development.js
├── controller
│ ├── common
│ │ ├── homeData.js
│ │ └── position.js
│ ├── shopping
│ │ ├── business.js
│ │ └── restaurants.js
│ └── user
│ ├── address.js
│ └── user.js
├── doc
├── InitData
│ ├── business.js
│ ├── home.js
│ └── restaurants.js
├── models
│ ├── common
│ │ └── common.js
│ ├── shopping
│ │ ├── business.js
│ │ └── restaurants.js
│ └── user
│ ├── address.js
│ └── user.js
├── mongodb
│ └── db.js
├── public
├── routes
│ ├── common.js
│ ├── index.js
│ ├── shopping.js
│ └── user.js
├── screenshots
├── .babelrc
├── .gitignore
├── app.js
├── COPYING
├── index.js
├── package.json
└── README.md
If it helps, you can click on the "Star" support in the upper right corner. Thank you! ^_^
Or you can "follow" it, I will continue to open up more interesting projects.
Development environment macOS 10.13.4 nodejs 8.11.3 Mongodb 4.0.1
Deployment environment AWS CentOS 6.8 64位
If you have any questions, please do so directly in the Issues, or you find the problem and have a very good solution, welcome PR 👍
If you are helpful, welcome sponsorship
After receiving the sponsorship, I will promptly update the sponsorship wall