Skip to content

nicejade/docker-vue-node-nginx-mongodb-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

Links

微信公众号 前端微信群 推荐 Web 应用
😉 静晴轩 ✨ 大前端联盟 🎉 倾城之链
静晴轩 倾城之链 倾城之链

License

MIT

Copyright (c) 2018-present, nicejade.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published