Skip to content

Getting started

Hugo Persson edited this page Nov 20, 2020 · 1 revision

First off make sure you got TypeScript installed or install it with

npm i -g typescript

Then install clone the repo and install all dependencies, enter the directory you want the project to be located in and run

git clone https://github.com/Hugo-Persson/MyFramework.git
cd MyFramework
npm i

You can now compile the src folder into build with

npm run build

But I recommend using nodemon combined with ts-node for instant update on code changes, install nodemon and ts-node with

npm i -g nodemon ts-node

Then use following command to start the project with nodemon and automatically restart server on change.

npm run dev

Now you should be up and running

Clone this wiki locally