README.md

November 18, 2019 Ā· View on GitHub

Docker Vue Node Nginx Mongodb Redis

šŸ‰ An awesome boilerplate, Integrated Docker, Vue, Node, Nginx, Mongodb and Redis in one,
Designed to develop & build your web applications more efficient and elegant.

NodeJs LICENSE LICENSE Author nicejade

Features

  • Powered by Vue2.* & Koa2.* & Mongodb & Nginx & Redis & Docker
  • Integrate Front-End, Back-End, Database into Docker
  • Rich features and constantly optimized design
  • Based on the awesome third-party libraries

Prerequisites

Node.js (>=4.x, 8.x preferred), Npm version 4+(Yarn preferred), Git, Mongodb, Nginx, Redis and Docker.

Getting started

# šŸŽ‰ clone the project
git clone https://github.com/nicejade/docker-vue-node-nginx-mongodb-redis.git
# āž• install dependencies
cd docker-vue-node-nginx-mongodb-redis
yarn && yarn bootstrap

# 🚧 start developing
yarn start

# Or Run the following commands in the terminal two different TAB
cd client && yarn start
cd server && yarn start

The program will automatically open http://localhost:8080/ for client and http://localhost:4000/ for server. Intelligently, it will specify the available port for you (incremental, eg: 8081 or 8082) if port 8080 is busying on your machine.

Deployment

# šŸš€ deploy your client & server(local or server)
yarn deploy

# Or Run the following command at root directory
docker-compose up
å¾®äæ”å…¬ä¼—å·å‰ē«Æå¾®äæ”ē¾¤ęŽØč Web 应用
šŸ˜‰ é™ę™“č½©āœØ å¤§å‰ē«Æč”ē›ŸšŸŽ‰ 倾城之链
é™ę™“č½©å€¾åŸŽä¹‹é“¾å€¾åŸŽä¹‹é“¾

License

MIT

Copyright (c) 2018-present, nicejade.