Skip to content
Writing UserApp server code in TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


In this project we will provide a npm-based setup to write the server part of a UserApp in TypeScript and compile it to JavaScript that runs on our UserApp servers.


Since we use npm to manage the tools we need you have to install the newest stable version of Node.js first before you can start.

How does it work?

Just clone this repository or copy everything to the desired place on your computer. Since there is already some code for a lovely TypeScript demonstration app already in this repository, you can instantly start compiling something!

  • open a terminal/commandline in the directory where all the files are now
  • run npm install and wait for everything to be installed
  • run npm run build to actually compile the dummy app
  • a "main.js" file will be created
  • Tada!

How to test it?

Now you just have to follow the usual UserApp deployment process.

Notice: TypeScript declaration file update

Since we don't yet have a automated process to deploy the TypeScript declaration file to npm yet. You have to update it manually. You should do this every time we change something in the UserApp API. You can follow the UserApps Changelog. It is referenced on our Developer Portal, or you can download it here.

You can’t perform that action at this time.