Templates in this package are based on Open ID Connect authentication with a Twinfinity instance. If you do not already have a client id to a Twinfinity instance, please contact us.
This package contains startup code for Twinfinity based projects. To get started, install the package globally.
npm install -g @twinfinity/templates
A basic TypeScript project can be created in a single command:
twinfinity-templates typescript <project directory>
It is configured to use HTTPS and requires certificate key and pem files to be located in the project directory with the names certificate.key
and certificate.pem
.
To run test the project:
cd <project directory>
npm install
npm run serve
The project is now available at https://localhost:9000