Skip to content
Snippets Groups Projects
Select Git revision
  • 2a38e42894bc2c3bf7390052675b26888afae2c0
  • dev default protected
  • renovate/major-nest-monorepo
  • renovate/luxon-3.x
  • renovate/gouvfr-anct-timetable-to-osm-opening-hours-2.x
  • renovate/major-typescript-eslint-monorepo
  • renovate/npm-11.x
  • renovate/mysql-9.x
  • renovate/mongo-express-1.x
  • renovate/major-jest-monorepo
  • renovate/tsconfig-paths-4.x
  • renovate/jest-junit-16.x
  • renovate/express-5.x
  • renovate/bitnami-mongodb-8.x
  • renovate/elastic-elasticsearch-8.x
  • renovate/ghost-5.x
  • renovate/ghcr.io-browserless-chromium-2.x
  • renovate/elasticsearch-7.x
  • renovate/devdependencies-(non-major)
  • 718-evenement-filtre-commune
  • 168-pro-connect
  • v4.0.3
  • v4.0.1
  • v4.0.0
  • v3.4.3
  • v3.4.2
  • v3.4.1
  • v3.4.0
  • v3.3.1
  • v3.3.0
  • v3.2.0
  • v3.1.0
  • v3.0.1
  • v3.0.0
  • v2.5.0
  • v2.4.2
  • v2.4.1
  • v2.4.0
  • v2.3.2
  • v2.3.1
  • v2.3.0
41 results

tclStopPoint.service.ts

Blame
  • Credits service

    Features

    This service allows the editorial team to manage a catalog of the Open Source initiatives enabling and powering this development project.

    Each record of the catalog includes the following information:

    • id: a technical unique identifier acting as primary key in the underlying database
    • uuid: a business unique identifier
    • name: the name of the credited initiative
    • description: a short description of the credited initiative, in particular of the role the latter plays in this project
    • links: a collection of URLs related to the credited initiative, modeled as a One-To-Many relationship
    • logo: the URL of the logo of the credited initiative
    • published: a boolean flag, indicating whether the record is published or not (draft)

    Dependencies

    This service has no dependency on other components.

    Endpoints

    The service provides two endpoints,

    1. /credits;

    allowing one to perform CRUD operations on credits in a RESTful manner. Moreover, an healtcheck endpoint is provided,

    1. /health,

    returning a 200 HTTP code if the API is healthy, 503 otherwise. For the service to be healthy, the underlying database must be up.

    Implementation

    credits-service

    The service is implemented using the NestJS framework. We refer the reader to the NestJS-based micro-services page for further details concerning NestJS and the features it provides.

    Data persistence is achieved by using PostgreSQL and TypeORM.