{"id":20756123,"url":"https://github.com/ref-bit/express-winston-typescript-starter-template","last_synced_at":"2026-04-19T08:33:51.851Z","repository":{"id":116890138,"uuid":"557253345","full_name":"Ref-Bit/Express-Winston-Typescript-Starter-Template","owner":"Ref-Bit","description":"A starter template with expressjs \u0026 winston \u0026 typescript.","archived":false,"fork":false,"pushed_at":"2022-10-25T11:08:01.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T15:52:35.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Ref-Bit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2022-10-25T11:00:38.000Z","updated_at":"2022-10-25T11:11:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"27baa38f-7db4-46ec-9520-5131becb759a","html_url":"https://github.com/Ref-Bit/Express-Winston-Typescript-Starter-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Ref-Bit/Express-Winston-Typescript-Starter-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ref-Bit%2FExpress-Winston-Typescript-Starter-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ref-Bit%2FExpress-Winston-Typescript-Starter-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ref-Bit%2FExpress-Winston-Typescript-Starter-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ref-Bit%2FExpress-Winston-Typescript-Starter-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ref-Bit","download_url":"https://codeload.github.com/Ref-Bit/Express-Winston-Typescript-Starter-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ref-Bit%2FExpress-Winston-Typescript-Starter-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32000427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":[],"created_at":"2024-11-17T09:29:16.365Z","updated_at":"2026-04-19T08:33:51.836Z","avatar_url":"https://github.com/Ref-Bit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express + Winston + Typescript Starter Template\n\n## Description\n\nThis template created for quicker supports the following tools:\n\n* [cors](https://github.com/expressjs/cors#readme) - Enable CORS with various options on your server.\n* [dotenv](https://github.com/motdotla/dotenv#readme) - zero-dependency module that loads environment variables.\n* [expressjs](http://expressjs.com) - Fast, unopinionated, minimalist web framework for Node.js.\n* [helmet](https://helmetjs.github.io) - Helps you secure your Express apps by setting various HTTP headers.\n* [morgan](https://github.com/expressjs/morgan#readme) - HTTP request logger middleware for node.js.\n* [winston](https://github.com/winstonjs/winston#readme) - A logger for just about everything (with daily log files rotation).\n\n### Get Started\n\nCreate environment variables file\n\n```bash\ncp .env.example .env\n```\n\nCreate logs directory in the root project\n\n```bash\nmkdir logs\n```\n\nInstall node modules\n\n```bash\npnpm\n```\n\nBuild the src folder\n\n```bash\npnpm build\n```\n\nStart the project\n\n```bash\npnpm dev\n```\n\n### Notes\n\nMake sure to `%j` at the end of the logger to print your object variable properly.\n\n```ts\nlogger.info(\"My Object %j\", myObj);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fref-bit%2Fexpress-winston-typescript-starter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fref-bit%2Fexpress-winston-typescript-starter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fref-bit%2Fexpress-winston-typescript-starter-template/lists"}