Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mc-ireiser/heroes-vue-node-api

Open more actions menu
 
 

Repository files navigation

Tour of Heroes

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

Why

How do you deploy a Vue app with Node.js server and API to the cloud? How does Docker help? Let's find out.

Live Demos

Hosted in Azure

Getting Started

  1. Clone this repository

    git clone https://github.com/johnpapa/heroes-vue-node-api.git
    cd heroes-vue-node-api
  2. Install the npm packages

    npm install
  3. Run the app!

    npm run dev-proxy
  4. 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.

Docker

  1. Run Docker: Compose Up from the VS Code menu
  2. Browse to http://localhost:8000

Why Docker

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.

Debugging

Problems or Suggestions

Open an issue here

Resources

Docker Resources

VS Code Resources

About

As seen in Vue Conf 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 45.8%
  • JavaScript 45.0%
  • CSS 5.8%
  • HTML 2.0%
  • Dockerfile 1.4%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.