πŸ‰ An awesome boilerplate, Integrated Docker, Vue, Node, Nginx, Mongodb and Redis in one, Designed to develop & build your web applications more efficient and elegant.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
.gitignore
LICENSE
README.md
docker-compose.yml
lerna.json
package.json
yarn.lock

README.md

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

License

MIT

Copyright (c) 2018-present, nicejade.