Skip to content

Latest commit

 

History

History

api

Azure Functions API

This project is an Azure Functions app, that responds to GET, POST, PUT, and DELETE endpoints for heroes.

Getting Started

  1. Create a repository from this template repository https://github.com/johnpapa/vue-heroes/generate

  2. Enter the name of your new repository as vue-heroes

  3. Clone your new repository

    git clone https://github.com/your-github-organization/vue-heroes
    cd vue-heroes/api
  4. Create the file api/local.setting.json and modify its contents as follows:

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "FUNCTIONS_WORKER_RUNTIME": "node"
  },
  "Host": {
    "CORS": "http:https://localhost:8080"
  }
}
  1. Run the app

    npm start

Resources

Debugging Resources