{"id":21428361,"url":"https://github.com/ushelp/express-quickstart","last_synced_at":"2025-08-12T06:35:03.557Z","repository":{"id":69648025,"uuid":"95519107","full_name":"ushelp/Express-quickstart","owner":"ushelp","description":"Node.js Express development skeleton based on EasyTemplateJS engine.","archived":false,"fork":false,"pushed_at":"2019-08-13T06:18:32.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T06:31:42.621Z","etag":null,"topics":["express-quieckstart","javascript","node","node-express","node-express-start","nodejs","nodejs-express","nodejs-expressjs","template-engine"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ushelp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["http://www.easyproject.cn/donation"]}},"created_at":"2017-06-27T04:58:25.000Z","updated_at":"2019-08-13T06:18:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ecaf8d1-eb8d-4406-8d87-d160aed0e21b","html_url":"https://github.com/ushelp/Express-quickstart","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ushelp/Express-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushelp%2FExpress-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushelp%2FExpress-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushelp%2FExpress-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushelp%2FExpress-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ushelp","download_url":"https://codeload.github.com/ushelp/Express-quickstart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushelp%2FExpress-quickstart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270014557,"owners_count":24512681,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["express-quieckstart","javascript","node","node-express","node-express-start","nodejs","nodejs-express","nodejs-expressjs","template-engine"],"created_at":"2024-11-22T22:12:54.551Z","updated_at":"2025-08-12T06:35:03.549Z","avatar_url":"https://github.com/ushelp.png","language":"HTML","readme":"# Express-quickstart\n\n**Express-quieckstart** 是一个基于 Node.js [Express](http://expressjs.com/ \"Express - Node.js web application framework\") Web 框架和 [EasyTemplateJS](https://github.com/ushelp/EasyTemplateJS \"EasyTemplateJS\")  模板引擎的快速开发骨架。\n\nExpress-quieckstart is a fast development skeleton based on Node.js [Express](http://expressjs.com/ \"Express - Node.js web application framework\") Web appliation framework and  [EasyTemplateJS](https://github.com/ushelp/EasyTemplateJS \"EasyTemplateJS\")  template engine。\n\n\n## Express-quicker 快速生成工具/Generator tool\n\n[Express-quicker](https://github.com/ushelp/Express-quicker \"an application generator tool for Express-quicker\")  是一个针对 `express-quickstart` 应用程序快速生成命令行工具。\n\n`express-quicker`  is an application generator tool,  to quickly create an application skeleton use `express-quickstart` .\n\n- 安装命令行工具 / Installs command-line tool:\n\t```\n\tnpm install express-quicker -g\n\t```\n\n- 创建 Express-quickstart 项目 / Creates an Express-quickstart app:\n\t```\n\tequicker [app-name]\n\t```\n\n- 安装依赖 / Then install dependencies:\n\t```\n\tnpm install\n\t```\n\t\n- 启动 / Startup:\n\t```\n\tnpm start\n\t```\n\n- 访问 / Load:\n\n `http://localhost:3000/`\n\n\n##  基础集成组件 / Basic integration components\n\n- CORS\n\n- Cookie\n\n- Session(Cookie/Redis)\n\n- Logging(Morgan\u0026Winston)\n\n- Body-parse\n\n- Multer\n\n- Method-override\n\n- Serve-favicon\n\n- Compression\n\n- Exception Handler\n\n## 目录结构 / directory structure\n \n```sh\n.\n├── app.js\n├── package.json\n├── public\n│   ├── img\n│   ├── js\n│   └── css\n│       └── style.css\n│   └── favicon.ico\n│   └── upload.html\n├── routes\n│   ├── index.js\n│   └── users.js\n├── uploads\n└── views\n    ├── error.etj\n    ├── index.etj\n    └── users.etj\n\n7 directories, 10 files\n```\n\n  \n## 模板引擎缓存控制 / Template engine cache control\n\n缓存有利于渲染性能，但在开发或调试模式时，可以将 `cache` 设置为 false，以便无需重启，刷新即可观察修改.\n\nCaching is useful for rendering performance, but in development or debug mode, you can set `cache` to false so that you can refreshing toobserve changes without restarting.\n\n- **app.js**\n\n```JS\n...\n/**\n * Template Engine (EasyTemplatJS)\n */\nvar fs = require('fs')\nvar Et = require('easytemplatejs');\n//var cache = true;  // Use Cache?\nvar cache = process.env.NODE_ENV == 'production'; // Use Cache?\n...\n```\n\n\n\n## 为何选择 EasyTemplateJS? / Why choose EasyTemplateJS?\n\nPug 等模板引擎带有自定义语言，需要高昂的学习成本，并且引擎内部需要对模板进行转换。\n\n而 [EasyTemplateJS](https://github.com/ushelp/EasyTemplateJS \"EasyTemplateJS\") 直接基于原生 HTML 和 JavaScript 进行模板编译和渲染，并支持内嵌 JavaScript 脚本(`\u003cetj-script\u003e...\u003c/etj-script\u003e`)和 CSS 样式脚本(`\u003cetj-script\u003e...\u003c/etj-script\u003e`)。能更大限度发挥 EasyTemplateJS 高性能，小巧并简单易用的优势。\n\nPug and other template engine with a custom language, the need for high learning costs, and the need for internal transformation of the template template.\n\n[EasyTemplateJS](https://github.com/ushelp/EasyTemplateJS \"EasyTemplateJS\") is based on native HTML and JavaScript for template compilation and rendering, support embedded JavaScript (`\u003cetj-script\u003e...\u003c/etj-script\u003e`) and CSS(`\u003cetj-script\u003e...\u003c/etj-script\u003e`). To maximize the advantages of EasyTemplateJS high performance, compact and easy to use.\n\n\n\n## End\n\nEmail：\u003cinthinkcolor@gmail.com\u003e\n\n[http://www.easyproject.cn](http://www.easyproject.cn \"EasyProject Home\")\n\n\n**支付宝钱包扫一扫捐助：**\n\n我们相信，每个人的点滴贡献，都将是推动产生更多、更好免费开源产品的一大步。\n\n**感谢慷慨捐助，以支持服务器运行和鼓励更多社区成员。**\n\n\u003cimg alt=\"支付宝钱包扫一扫捐助\" src=\"http://www.easyproject.cn/images/s.png\"  title=\"支付宝钱包扫一扫捐助\"  height=\"256\" width=\"256\"\u003e\u003c/img\u003e\n\n\n\nWe believe that the contribution of each bit by bit, will be driven to produce more and better free and open source products a big step.\n\n**Thank you donation to support the server running and encourage more community members.**\n\n[![PayPal](http://www.easyproject.cn/images/paypaldonation5.jpg)](https://www.paypal.me/easyproject/10 \"Make payments with PayPal - it's fast, free and secure!\")\n\n","funding_links":["http://www.easyproject.cn/donation","https://www.paypal.me/easyproject/10"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fushelp%2Fexpress-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fushelp%2Fexpress-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fushelp%2Fexpress-quickstart/lists"}