This project was created to help represent a fundamental app written with Vue. The heroes and villains theme is used throughout the app.
by John Papa
How do you deploy a Vue app with Node.js server and API to the cloud? How does Docker help? Let's find out.
Hosted in Azure
- View the live app 👉Tour of Heroes for VueConf 2019
-
Clone this repository
git clone https://github.com/johnpapa/heroes-vue-node-api.git cd heroes-vue-node-api
-
Install the npm packages
npm install
-
Run the app!
npm run dev-proxy
-
Browse to http://localhost:9001
TODO: There is a database key required for this app. I will be removing this need shortly so you can run it without that requirement.
- Run Docker: Compose Up from the VS Code menu
- Browse to http://localhost:8000
You can host the app any way you prefer. I chose Docker because it is familiar to me and makes it easy to run anywhere (local or cloud). You do you though and feel free to run this in your own way.