Create a new App
Creating an app in Stryke is very easy, just click on the "Create New App" button on your Stryke dashboard and fill in the basic details of your app.
When creating your app all you need to define is:
- name: this is the name of your app as it will be shown in the UI and to your end users.
- url: this is a unique identifier for your app, and will be used in all URLs that refer to your app. The app's url will be automatically populated based on the app's name, but can be changed to whatever you prefer.
- description: this is a high level description for your app that will be shown in the UI and to your end users.
As soon as your app is created, you will be presented with a message that contains the username of the default user of your app, and a link to reset its password. Follow the link, as shown below, to set the password of your app's default user. You will then be able to use those credentials to access the app.
Accessing your app
Access to all Stryke apps is authenticated, your app can be used once you have logged in to it using a valid user of that app. For more details on the different types of users see the Users section. The login URL of a Stryke app is constructed as follows:
https://app.stryke.io/#/[your app name]/login
Similarly, the username of the default user is set as follows:
admin@[your app name].io
If you did not set the password of your default user through the link provided in the app creation message (as described above) you can do so at any moment through the 'reset password' page, which can be found by clicking on 'Forgotten your password?' from your app's login screen or by navigating to:
https://app.stryke.io/#/[your app name]/recoverylink
If you encounter issues accessing the "reset your password" page try logging out from Stryke, if you are currently logged in, and try again.
Once you log in your app with an admin user you will be able to create more users from within the app's Users section.
Create an app from Template
Create an app template
Stryke allows exporting the information that defines an app as a JSON file. This file contains a template with all that is necessary to recreate the app without any of its data. This includes:
- actions and scripts
- access control definition
- user roles
This is especially useful when wanting to create parallel versions of an app that can have different feature sets or just data. It can also be used to share the definition of an app.
Once you have an app that you wish to export, you will find an export button under its "settings" page. This will generate the JSON template file.
Create an app by importing a template
An new app can be create from a template file. This is done via the "import from template" button in the Stryke dashboard.
Once the app is created from the template file it will contain all the metadata, scripts and definition from the template, but it will not contain any data. When importing from template, please ensure that the app name in the template is unique before using it to create a new app.