Full Demo
Objectives:
Learn how to deploy a full working APP on top of SOAJS (Pet Store)
Learn how to build UI Modules and deploy them in the Operate pillar of SOAJS SOAJS Console
Learn how to deploy a custom UI Frontend Interface for your APP with SOAJS
- Deploy and use oAuth to login
- Deploy and use URAC for member management and 3rd party integration (Facebook, Google+, Twitter)
Start by installing and deploying SOAJS as local cloud deployment; Click Here and you will be redirected to the SOAJS Installer Space where you can find the installation instructions.
For this demo, we will be using Local Cloud Deployment on top of Docker and we will provide our custom UI modules for the pet store when deploying the portal.
Login to the Dashboard using the credentials.
Press on Deploy Portal marked in blue on the top right dashboard and fill the wizard steps as following:
Once you finished the installation of the Portal, clone the full demo configuration repository to import some sample data before you proceed.
OSX Users
Make sure you have Xcode (or at least Xcode cli) installed to be able to use the "git" command from the terminal!
Install and Import Pet Store sample data
# Create a directory to clone the repo
> mkdir -p /opt/soajs/node_modules
# Go to directory
> cd /opt/soajs/node_modules
# Clone configuration repo from Github
> git clone git@github.com:SOAJS-Demos/soajs.petstore.config
# install dependencies for repository
> cd soajs.petstore.config
> npm install
# Import the configuration
> cd soajs.petstore.config/import/
# node . -h <mongo service host> -p <mongo port>
> node . -h dashboard-soajsdata -p 32017Import script help
# Open the import script help manual
> cd soajs.petstore.config/import/
> node . --helpGo to the Deploy pillar → Clouds & Deployments then Reload registry of the dashboard container.
Then Logout and Log back in, now the dashboard will load your new ACL permissions that includes the imported configuration for the pet store demo.