This repostiory provides a template for new web application projects using NodeJS (runtime), Express (routing), Pug (templating) and TypeScript (language).
$ npm install # Download and install dependencies (including Typescript)
$ npm run grunt # Compile the Typescript files to regular Javascript
$ ./bin/app # Run the application with default configuration
$ ./bin/app --config ./config/examplerc # Run the application with custom configuration
- An example of testing using Mocha, SuperTest, etc.
- An example of using Typescript on client
- Move some code from 'src/app/shared' to separate library (on NPM?)
- Refine the project structure (how can it be improved?)
The recommended development environment is VS Code as it provides very good integration with TypeScript.