Skip to content

Knuddels/TypeScript-UserApp-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript-UserApp-Server

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.

Dependencies

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.

About

Writing UserApp server code in TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published