Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crisu83/covid19-graphql
GraphQL API for querying data about Covid-19 across the world.
https://github.com/crisu83/covid19-graphql
azure-functions covid19 graphql typescript
Last synced: 22 days ago
JSON representation
GraphQL API for querying data about Covid-19 across the world.
- Host: GitHub
- URL: https://github.com/crisu83/covid19-graphql
- Owner: crisu83
- License: mit
- Created: 2020-03-28T07:57:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T17:32:48.000Z (about 2 years ago)
- Last Synced: 2024-10-30T00:40:15.420Z (2 months ago)
- Topics: azure-functions, covid19, graphql, typescript
- Language: TypeScript
- Size: 1.94 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Covid-19 GraphQL
GraphQL API for querying data about Covid-19 across the world.
[![Action Status](https://github.com/crisu83/covid19-graphql/workflows/CI/badge.svg)](https://github.com/crisu83/covid19-graphql/actions)
## Requirements
- [Node](https://github.com/tj/n) 12 and [Yarn](https://yarnpkg.com).
- [Azure](https://azure.com/) account
- [Azure Functions Core Tools CLI](https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local#v3)
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
- [Azure Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-node-azure-pack) for [VSCode](https://code.visualstudio.com/)## Development
Do the following to run the project on your own computer:
- Run `yarn` to install the dependencies
- Run `yarn gen` to generate TypeScript definitions
- Run `yarn watch` to watch files for changes
- Run `yarn start` to start the development server## Production
You can deploy the project using the [Azure Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-node-azure-pack) extension for [VSCode](https://code.visualstudio.com/). Please note that you have to setup billing for your Azure account before you can deploy to Azure.
- Run `az login` to log in to your Azure account
- Open the **Azure Tools** extension in **VSCode**
- Under **Functions** select: **Local Project (covid19-graphql) > Functions > graphql (HTTP)**
- Press **Deploy to Function App** and follow the instructions## Contributing
Please read our [guidelines](.github/CONTRIBUTING.md).
## License
See [LICENSE](LICENSE).