{"id":21153099,"url":"https://github.com/markuspeitl/node-typescript-handlebars-template","last_synced_at":"2026-04-11T09:44:39.197Z","repository":{"id":40706050,"uuid":"204721589","full_name":"markuspeitl/node-typescript-handlebars-template","owner":"markuspeitl","description":"Simple template repo for building quick and small web applications with NodeJS, typescript and express uses handlebars as the tempate engine.","archived":false,"fork":false,"pushed_at":"2022-12-14T00:02:38.000Z","size":484,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T15:11:30.559Z","etag":null,"topics":["dependecies","express","handlebars","mocha","nodejs","nodemon","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markuspeitl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-27T14:30:04.000Z","updated_at":"2021-08-20T15:59:45.000Z","dependencies_parsed_at":"2023-01-28T16:00:39.754Z","dependency_job_id":null,"html_url":"https://github.com/markuspeitl/node-typescript-handlebars-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/markuspeitl/node-typescript-handlebars-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markuspeitl%2Fnode-typescript-handlebars-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markuspeitl%2Fnode-typescript-handlebars-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markuspeitl%2Fnode-typescript-handlebars-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markuspeitl%2Fnode-typescript-handlebars-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markuspeitl","download_url":"https://codeload.github.com/markuspeitl/node-typescript-handlebars-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markuspeitl%2Fnode-typescript-handlebars-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261795317,"owners_count":23210618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependecies","express","handlebars","mocha","nodejs","nodemon","typescript"],"created_at":"2024-11-20T10:48:42.327Z","updated_at":"2026-04-11T09:44:34.157Z","avatar_url":"https://github.com/markuspeitl.png","language":"TypeScript","readme":"# Node Typescript-Handlebars Express template\n\n## Description\n\nSimple template repo for building quick and small web applications with NodeJS, typescript and express.\nUses handlebars as the tempate engine.  \nPrefect for rapid prototyping a web application, with simple frontend.\n(Very lightweight, if you build something bigger use Vue.js or React, if\nit is there to last Angular might be the right thing).  \n\nHas mocha as a testing framework.  \nUses nodemon and the watch mode of the typescript compiler to recompile and\nrestart the application as soon as changes (to the .ts files) occur.  \n\n## Dependecies\n\nMight require typescript \u0026 tsc to be globally installed as well:\n\n```bash\nnpm install -g typescript\n```\n\nHas some pre defined **dependencies**:  \n**Express** as the server framework for nodejs  \n**Socket.IO** to provide socket based communication  \n**node-fetch** to provide a simple http client (as development for request was stopped)  \n\n## How to run\n\n### Development\n\nInstall development and prod dependencies:  \n\n```bash\nnpm install\n```\n\nRun applcation in development mode (recompiles sources and restarts if typescript files change):  \n\n```bash\nnpm start\n```\n\n### Testing\n\nRun mocha tests:\n\n```bash\nnpm test\n```\n\n### Production\n\nInstall production dependecies only (-\u003e no devdependencies):  \n\n```bash\nnpm run prod:install\n```\n\nBuild the typescript sources in production mode + set process.env.NODE_ENV=\"production\"  \n(-\u003e no devdependencies):  \n\n```bash\nnpm run prod:build\n```\n\nRun on production\n\n```bash\nnpm run prod:start\n```\n\n#### If you like the template consider dropping me a coffee\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate?hosted_button_id=BSFX8LCPHW2AE)\n  \n\u003cbr\u003e  \n\u003cbr\u003e  ","funding_links":["https://www.paypal.com/donate?hosted_button_id=BSFX8LCPHW2AE"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkuspeitl%2Fnode-typescript-handlebars-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkuspeitl%2Fnode-typescript-handlebars-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkuspeitl%2Fnode-typescript-handlebars-template/lists"}