As part of understanding the concept of vue.js node.js with docker I have developed some application, I hope it will help you to do a quick start on your learning journey
git clone https://github.com/askeralim/node-vuejs-typescript-vuex-redis-docker-compose.git
A Complete Vuejs+vuex with socket.io ChatApplication developed, backend run by node.js with Redis server To run this application it have two node project running in localhost (Still in Development mode, Some typescript bugs need to be fixed.)
ChatApp-Server Run the server in one termins with following command.
cd chatapp-vue-server
npm install
npm run start
ChatApp-Client Run the vuejs application in one termins with following command.
cd chatapp-vue
npm install
npm run serve
The application can be accessed with link
http://localhost:8080
Working on it, have some TypeScript Bugs need to be fixed.
The Application is available @ (https://github.com/askeralim/node-vuejs-typescript-vuex-redis-docker-compose/tree/master/chatapp-vue-docker-compose)
cd chatapp-vue-docker-compose
docker-compose -f dev.docker-compose.yml build
docker-compose -f dev.docker-compose.yml up
It will run 4 Docker Images
- Redis Server
- NGINX Server listening port 80
- Client - Vue Application
- Server - Node.js Server Application
The application can be accessed with link
http://localhost/