{"repo":"gjuchault/typescript-functional-service-starter","free":true,"listed":false,"github":"https://github.com/gjuchault/typescript-functional-service-starter","clone":"git clone https://github.com/gjuchault/typescript-functional-service-starter.git","description":"Yet another typescript service starter template, functional","language":"TypeScript","stars":11,"topics":[],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Typescript Functional Service Starter Yet another (opinionated) typescript service starter template. Opinions and limitations 1. Limits the non-pure code to infrastructure layer Extends the ones from typescript-service-starter 1. Tries to follow Domain Driven Development and 3 Layers architecture 2. As little of externalities requirements as possible (outputs to stdout/stderr, no auth management, etc.) 3. No dependency on node modules folder and filesystem at runtime, to allow bundling & small Docker image 4. Config should not default to either development or production (link) And extends the ones from typescript-library-starter 1. Relies as much as possible on each included library's defaults 2. Only rely on GitHub Actions 3. Do not include documentation generation Getting started 1. npx degit gjuchault/typescript-functional-service-starter my-project or click on Use this template button on GitHub! 2. cd my-project 3. npm install 4. git init (if you used degit) 5. npm run setup To enable deployment, you will need to: 1. Setup NPM TOKEN secret in GitHub actions (Settings Secrets Actions) 2. Give GITHUB TOKEN write permissions for GitHub releases (Settings Actions General Workflow permissions) Features Ecosystem This template is based on Fastify with some nice defaults (circuit breaker, redis rate limit, etc.). It leverages PostgreSQL as a storage (through slonik), Redis as a cache through ioredis). For the logging & telemetry part, it uses pino and OpenTelemetry (for both pro","default_branch":null,"files":null,"tree":[],"storefront":"/r/gjuchault","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gjuchault/typescript-functional-service-starter/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."}