Skip to content

jv-asana/app-components-example-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 that due to the infrastructure behind App Rules, this repository does not include an example of App Rules running in a local server.

Getting Started

  1. Clone this repo:
git clone [email protected]: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:

About

app-components-example-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.7%
  • HTML 5.3%