{"repo":"lokalise/node-service-template","free":true,"listed":false,"github":"https://github.com/lokalise/node-service-template","clone":"git clone https://github.com/lokalise/node-service-template.git","description":"Batteries-included starter template for Node.js backend services","language":"TypeScript","stars":378,"topics":["lokalise-nextgen"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"node-service-template Versioning Please bump the version in package.json and add description of changes into CHANGELOG.md when making changes. When synchronizing services built with the template with the upstream changes, please bump the version in package.json to reflect the step up to which the changes are synchronized. Overview node-service-template provides a \"battery-included\" starter template for building enterprise Node.js webservices. It comes with the following out-of-the-box: - fastify as a basis for the general web application skeleton; - Modular, domain-driven structure that encourages separation of concerns; - Server/app separation, for convenient bootstrapping in e2e tests; - Global error handler; - JSON-based, single line standardized logging; - Automatic population of req.id for incoming requests based on x-request-id header, or generation of new UUID if none is set, for the purposes of distributed tracing. Mechanisms: - Type-safe config management; - Dependency injection (using awilix); - Scheduling (using toad-scheduler and redis-semaphore); - Type-safe message queue handling, using message-queue-toolkit framework; - Type-safe dependency mocking for tests; Scaffolding: - Periodic in-memory jobs; - Durable enqueued Redis jobs; - API client, using opinionated high-performance backend client, based on undici - AWS configuration loading Basic building block examples: - Repository (using drizzle); - Domain service; - Controller; - Route; - Schema (published indep","default_branch":null,"files":null,"tree":[],"storefront":"/r/lokalise","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lokalise/node-service-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}