# Resources service

## Features

This service can provide lists of resources and formats.  
A resource is an entity representing some information, usually geographic, that can be accessed by a query (for example Web Map Service) or by downloading a file. One resource can be considered standard (e.g WMS protocol) or not standard (a custom service).  
Each resource is associated with one or many formats.

*Example:*  
the output of a Web Feature Service (WFS), standard service providing an interface for geographical features, is a resource. And it is associated with many formats as such Shapefile or JSON.  

## Dependencies

## Endpoints

For this service we declared an health indicator that verifies that it can connect to the database.

## Implementation

![resources-service](../../assets/organizations-service.png)

The entrypoint of the service is a REST API provided by a [NestJS](https://github.com/nestjs/nest) application. This backend application interacts with a PostgresSQL database through an ORM called [TypeORM](https://github.com/typeorm/typeorm).