This is the starter package which I use to get a node app going. The core features are: Typescript compilation for frontend and backend, my default style, my preferred linting rules, a basic express server, vs code tasks to start debugging.

peter authored on 17 Jan
.vscode Created starter configs and examples. 9 months ago
public Created starter configs and examples. 9 months ago
src Created starter configs and examples. 9 months ago
style Created starter configs and examples. 9 months ago
.gitignore Created starter configs and examples. 9 months ago
README.md Created starter configs and examples. 9 months ago
package-lock.json Created starter configs and examples. 9 months ago
package.json Created starter configs and examples. 9 months ago
tsconfig.json Created starter configs and examples. 9 months ago
tslint.json Created starter configs and examples. 9 months ago
README.md

Repository Name

Dev

Install typescript and tslint globally, if you haven't aready.

npm install -g typescript tslint

Local dependencies:

npm install

Build

Compile TypeScript to JavaScript.

tsc

Executing this in the application's root folder will apply the settings from tsconfig.json.

Run

Run the application from the project's root folder.

node dist/app.js