Forked from the TypeScript-Node-Starter and stripped down, removing the opinionated packages; mongo, pug, async, bcrypt, bluebird, compression, nodemailer, passport, bootstrap, jquery, etc and services Azure, Sendgrid, etc.
Clone the repository, or, fork it, or,
git clone https://github.com/davidarvan/node-ts.git MY_PROJECT_NAME
Install dependencies
cd MY_PROJECT_NAME
npm install
npm run watch
Open http://localhost:3000
in your browser.
It's required to convert the TypeScript to Javascript and SASS to CSS to be run in a Node environment. Build the typescript and sass by running the following before deploying to a live staging/production/etc server.
npm run build
Npm Script | Description |
---|---|
start |
Start and serve the built server. |
build |
Full build for deployment |
build:* |
Build/compile the various components. |
lint |
Runs ESLint on project |
test |
Runs tests using Jest |
watch |
Runs all watch tasks (TypeScript, Sass, Node). |
watch:* |
Run the various components in 'watch' mode. |
Carries the same license as set by Microsoft in the original.
Licensed under the MIT License.