Skip to content

Nestoran/asanaapp

 
 

Repository files navigation

App Components Example App Server

This app server is part of the app components example app. By following the aforementioned guide, you'll see how an example Express server communicates with requests made from the client. In particular, you'll be able to demo:

Note: To view an example app server with rule actions, see app-components-rule-action-example-app.

Getting Started

  1. Clone this repo:
git clone git@github.com:Asana/app-components-example-app.git
  1. Install dependencies:
npm install
  1. Enable HTTPS by:

    1. Generating keys and certificate:
    openssl req -x509 -newkey rsa:2048 -keyout keytmp.pem -out cert.pem -days 365
    
    1. Getting decrypted keys:
    openssl rsa -in keytmp.pem -out key.pem
    
  2. Start the server (must be kept running when using the app in Asana):

npm run dev
  1. If blocked by Chrome when opening your page (e.g., an SSL warning), click anywhere in the browser and type:
thisisunsafe

Resources:

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.9%
  • HTML 5.1%