Skip to content

AlchemistsLab/covalent-azure-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Covalent Azure Serverless

This repository is a Covalent Serverless Application deployed on Microsoft Azure. This wrapper will assist developers who want to utilize Covalent data without any server setup needed (serverless).

Azure Service

Azure Functions - Service for create function to interact with Covalent API.

Sample Service URL

DEMO

Getting Started

  • Go to Documentation

  • Start with Configure your local environment

  • Then, Create supporting Azure resources

    • Login

      az login
      
    • Create a resource group with your group name in your region:

      • In this example, we use RESOURCE_GROUP_NAME = covalent-rg and REGION = westeurope

      az group create --name covalent-rg --location westeurope
      
    • Create a general-purpose storage account in your resource group and region:

      • In this example, we use STORAGE_ACCOUNT_NAME = covalentstorage

      az storage account create --name covalentstorage --location westeurope --resource-group covalent-rg --sku Standard_LRS
      
    • Create a function app:

      • In this example, we use APP_NAME = covalent

      az functionapp create --resource-group covalent-rg --consumption-plan-location westeurope --runtime node --runtime-version 12 --functions-version 3 --name covalent --storage-account covalentstorage
      
  • Finally, Deploy the function project to Azure

    • Go to your project directory

    • Install dependencies

      npm install
      
    • Inside index.js file, set your api_key.

    • Deploy project

      func azure functionapp publish covalent
      
  • After deploy project successfully, you will find API endpoint at Invoke url:.

    deploy-app
  • How to use your API on Microsoft Azure

    GET {API endpoint}?path={COVALENT_API_PATH}&param1=value1&param2=value2&...
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published