-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Deva Kumar edited this page Apr 27, 2022
·
13 revisions
viya-appserverjs is an app server designed for rapid development and deployment of SAS Viya applications. The server uses hapijs to do all the heavy lifting. viya-appserverjs takes advantage of the great configurabilty of hapijs.
The key features are:
- Supports authentication using authorization_code flow and implicit flow
- Supports serving up static content
- Can be extended with custom routes (suggest using @sassoftware/viya-apiserverjs for this)
- Supports TLS
- Build your app
- Obtain a clientid and clientsecret - see Managing clientids for instructions on how to create clientid
- Configure the server using a combination of environment variables, env files and Dockerfile
- Start the server with a simple command
npx @sassoftware/viya-appserverjs --env=your-env-envfile --docker=your-Dockerfile --appenv=your-appenv.js-file
Please visit Getting Started to develop your application server with minimal effort.