Akamai Open APIs Electron app using Express.js and Angular 5
A starter project to use Akamai Open APIs in an electron application. The authentication using .edgerc is handled using expressjs and the Client is using Angular5 typescript with Bootstrap and a custom Progress-bar to show you how fast forward the responses are delivered.
Currently runs with:
Electron v1.7.5
Express v4.15.4
Angular v5.2.5
Angular-CLI v1.7.1
Bootstrap v3.3.5
-
Install Node.js
-
npm install electron && electron-packager -g
-
npm install && cd express && npm install && cd angular && npm install;
-
Go to ./resouces/express and folow the steps on README.md and setup your .edgerc file to authenticate to the Akamai Open APIs and use the Diagnostic Tools example
-
Run one of the following scripts to serve or package your application
* angular-build": "cd express/angular && npm run build",
* start : "npm run angular-build && electron main",
* win32 : "npm run angular-build && electron-packager . akamaiManager --platform=win32 --arch=ia32",
* win64 : "npm run angular-build && electron-packager . akamaiManager --platform=win32 --arch=x64",
* linux32 : "npm run angular-build && electron-packager . akamaiManager --platform=linux --arch=ia32",
* linux64 : "npm run angular-build && electron-packager . akamaiManager --platform=linux --arch=x64",
* osx : "npm run angular-build && electron-packager . akamaiManager --platform=darwin --arch=x64"
- Run akamaiManager.exe