# API Credito Digital

## Description

Backend for the consumption of web services of the CIGNUS platform.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)

## Installation
### Requirements

- NodeJS v14

### Steps

#### 1. Install dependencies

```
  npm i
```

#### 2. Create config.json

1. Create `config.json` file in config folder
```json
  {
    "DATA_BASE": "DATA_BASE",
    "DATA_BASE_USER": "DATA_BASE_USER",
    "DATA_BASE_PASSWORD": "DATA_BASE_PASSWORD"
  }
```

## Usage

### Change port

1. Change `PORT` if necessary

![alt text](assets/images/port.png)

### Run project

Development
```
  npm run dev
```

Production
```
  npm start
```
