Skip to content

Repository files navigation

OCP Quickstart: Build an app

Build a sample app from start to finish in Optimizely Connect Platform (OCP) that allows customers to sync data from an Azure storage account to Optimizely Data Platform (ODP).

This repository contains the source code for the app that you build in the OCP Quickstart: Build an app guide. To build the app, follow each page of the quickstart guide in order:

  1. Overview
  2. Scaffold the app and define its schema
  3. Publish to the ODP sandbox
  4. Configure and authenticate the app
  5. Write a function
  6. Write a job
  7. Publish the app in ODP App Directory

OCP apps run on node 18 and are packaged using yarn. Ensure you have node and yarn installed, then run the yarn command to install dependencies.

You should write OCP apps in TypeScript. Visual Studio Code is a great free integrated development environment (IDE) for TypeScript projects.

For more information on building apps in OCP, see the the OCP developer documentation.

Build and test

You can use any test framework you like, but Jest comes pre-installed with an OCP app. To run your unit tests, run the following command:

yarn test

Before you upload an app to OCP, you can validate your app package to ensure it is ready for upload by running the following command:

yarn validate

About

Sample app developed in OCP quick start guide - Azure Storage Account connector

Topics

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages