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:
- Widget
- Modal Form
- Lookup
- Entry Point (within the Asana UI)
Note that due to the infrastructure behind App Rules, this repository does not include an example of App Rules running in a local server.
- Clone this repo:
git clone [email protected]:Asana/app-components-example-app.git
- Install dependencies:
npm install
-
Enable HTTPS by:
- Generating keys and certificate:
openssl req -x509 -newkey rsa:2048 -keyout keytmp.pem -out cert.pem -days 365
- Getting decrypted keys:
openssl rsa -in keytmp.pem -out key.pem
-
Start the server (must be kept running when using the app in Asana):
npm run dev
- If blocked by Chrome when opening your page (e.g., an SSL warning), click anywhere in the browser and type:
thisisunsafe
- Overview of App Components
- Getting Started with App Components