https://github.com/nicejade/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.
https://github.com/nicejade/docker-vue-node-nginx-mongodb-redis
awesome docker element-ui koa2 mongodb nginx nodejs pwa redis vue-router vuejs vuex webapp website
Last synced: 7 months ago
JSON representation
🐉 An awesome boilerplate, Integrated Docker, Vue, Node, Nginx, Mongodb and Redis in one, Designed to develop & build your web applications more efficient and elegant.
- Host: GitHub
- URL: https://github.com/nicejade/docker-vue-node-nginx-mongodb-redis
- Owner: nicejade
- License: mit
- Created: 2018-09-16T15:13:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T10:47:23.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T16:01:31.477Z (8 months ago)
- Topics: awesome, docker, element-ui, koa2, mongodb, nginx, nodejs, pwa, redis, vue-router, vuejs, vuex, webapp, website
- Language: JavaScript
- Homepage: https://nicelinks.site/
- Size: 1010 KB
- Stars: 46
- Watchers: 3
- Forks: 15
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.\*](https://vuejs.org/) & [Koa2.\*](https://koajs.com/) & [Mongodb](https://www.mongodb.com/) & [Nginx](https://www.nginx.com/) & [Redis](https://redis.io/) & [Docker](https://docs.docker.com/compose/install/)
- Integrate Front-End, Back-End, Database into `Docker`
- Rich features and constantly optimized design
- Based on the awesome third-party libraries
## Prerequisites
[Node.js](https://nodejs.org/en/) (>=4.x, 8.x preferred), Npm version 4+([Yarn](https://jeffjade.com/2017/12/30/135-npm-vs-yarn-detial-memo/) preferred), [Git](https://git-scm.com/), [Mongodb](https://www.mongodb.com/), [Nginx](https://www.nginx.com/), [Redis](https://redis.io/) and [Docker](https://docs.docker.com/compose/install/).
## Getting started
```bash
# 🎉 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
```bash
# 🚀 deploy your client & server(local or server)
yarn deploy
# Or Run the following command at root directory
docker-compose up
```
## Links
- [**NICE LINKS**](https://nicelinks.site?from=github)
- [About Me](https://about.me/nicejade/)
- [Latest blog](https://nice.lovejade.cn/)
- [First Blog](https://jeffjade.com/)
- [Second Blog](https://blog.lovejade.cn/)
- [Weibo](https://weibo.com/jeffjade)
- [ZhiHu](https://www.zhihu.com/people/yang-qiong-pu/)
- [SegmentFault](https://segmentfault.com/u/jeffjade)
- [JianShu](http://www.jianshu.com/u/9aae3d8f4c3d)
- [Twitter](https://twitter.com/nicejadeyang)
- [Facebook](https://www.facebook.com/yang.gang.jade)
| 微信公众号 | 前端微信群 | 推荐 Web 应用 |
| --- | --- | --- |
| 😉 静晴轩 | ✨ 大前端联盟 | 🎉 倾城之链 |
|  |  |
|
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2018-present, [nicejade](https://aboutme.lovejade.cn/?utm_source=github.com&pid=docker-vue-node-nginx-mongodb-redis).
