https://github.com/simonaco/buildgraphless
Serverless GraphQL API
https://github.com/simonaco/buildgraphless
azure-functions azure-functions-graphql graphql serverless
Last synced: about 1 year ago
JSON representation
Serverless GraphQL API
- Host: GitHub
- URL: https://github.com/simonaco/buildgraphless
- Owner: simonaco
- Created: 2019-05-07T10:29:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T05:01:52.000Z (almost 5 years ago)
- Last Synced: 2025-03-14T19:30:58.421Z (about 1 year ago)
- Topics: azure-functions, azure-functions-graphql, graphql, serverless
- Language: HTML
- Homepage: https://apibuildgraphless.azure-api.net/graphiql
- Size: 19.5 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Build demo
## Prerequisites
1. A recent version of [Node](https://nodejs.org/en/download) (8+)
1. [Azure Functions CLI](https://docs.microsoft.com/azure/azure-functions/functions-run-local?WT.mc_id=build2019-github-sicotin)
1. [Free Azure Account](https://azure.microsoft.com/free/?wt.mc_id=build2019-github-sicotin)
1. [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest&WT.mc_id=build2019-github-sicotin)
## How to run this
1. Install dependencies: ```npm install```
1. Run locally: ```npm start```
1. Go to [http://127.0.0.1:8080](http://127.0.0.1:8080) and run query:
```json
mutation {
incrementPoints(id:1){
name
points
}
}
```
1. Deploy to the cloud
```
cd scripts
./deployment
```
Happy coding!