GithubHelp home page GithubHelp logo

praveenweb / azure-sql-db-graphql-hasura Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/azure-sql-db-graphql-hasura

1.0 1.0 0.0 46 KB

A full end-to-end demo using Vue, Hasura, GraphQL and Azure SQL database to create a modern Todo list solution

License: MIT License

HTML 3.43% Vue 20.92% JavaScript 22.89% HCL 41.04% Shell 11.72%

azure-sql-db-graphql-hasura's Introduction

An Azure & Hasura Todo App

This application is setup to provide an example of using GraphQL with Vue.js, with Hasura providing GraphQL API Services via the Azure Cloud.

NOTE For more detail instructions, check out the blog entry that details this repository and the steps to get everything running.

Features

This project framework provides the following features:

Prerequisites

The following are prerequisites to run the back end, initial deploy of infrastructure, and develop the application locally.

  1. An Azure Account with the appropriate permissions to deploy applications, containers, and databases as needed by this application.
  2. Azure CLI need to be installed and logged in for use.
  3. Terraform, the CLI, needs to be installed locally with the appropriate environment variables set. See env-var-notes for the short list of variables needed.

Getting Started

For this app, deploy the code and run with yarn run dev, then point the various GraphQL calls (currently pointed at localhost:8080/v2/graphql) where the GraphQL API end point is deployed to. This GraphQL end point will be listed after the execution of the Terraform script as the hasura_uri_path variable.

Even though you won't need it for this example, the output variable sqlserver_dsn variable shows the full DSN connection string to the Azure SQL deployed in Azure.

Todo App Quickstart

Change out the path of the URI paths to the GraphQL end point to reflect where your deployed API is located at. Then...

  • yarn install
  • yarn run dev

azure-sql-db-graphql-hasura's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar scoriani avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.