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.
.vscode | 5 years ago | ||
public | 5 years ago | ||
src | 5 years ago | ||
style | 5 years ago | ||
.gitignore | 5 years ago | ||
README.md | 5 years ago | ||
package-lock.json | 5 years ago | ||
package.json | 5 years ago | ||
tsconfig.json | 5 years ago | ||
tslint.json | 5 years ago |
Repository Name
Install typescript
and tslint
globally, if you haven't aready.
npm install -g typescript tslint
Local dependencies:
npm install
Compile TypeScript to JavaScript.
tsc
Executing this in the application's root folder will apply the settings from tsconfig.json
.
Run the application from the project's root folder.
node dist/app.js