Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davila23/challenge-agile-engine

Challenge
https://github.com/davila23/challenge-agile-engine

Last synced: about 1 month ago
JSON representation

Challenge

Awesome Lists containing this project

README

        


horizontal_tagline_black_on_white_by_logaster (1)

## Description

In order to be able to test the database lock request, I added a 3 second delay on all POST requests.

The GET method does not have any kind of limitation.

Requirements : https://agileengine.bitbucket.io/fsNDJmGOAwqCpzZx/

## Dependency Table
| Name | Version |
| ------------- |:-------------: |
| [Node.js](https://nodejs.org) | ^8.3.0 |
| [TypeScript](https://www.typescriptlang.org) | 3 |
| [React](https://es.reactjs.org/) | ^16.13.1 |

## Installation

```bash
$ yarn install
```

## Running the App

```bash
# run
$ yarn dev

# build
$ yarn build
$ cd /server/build
```

## FrontEnd

URL: http://localhost:3000/


Captura de Pantalla 2020-06-15 a la(s) 18 20 50

## Postman
DEBIT


Captura de Pantalla 2020-06-15 a la(s) 18 21 20

CREDIT


Captura de Pantalla 2020-06-15 a la(s) 18 21 40

GET LIST


Captura de Pantalla 2020-06-15 a la(s) 18 23 10

## Errors handled

WITOUT_FOUNDS = 'ERROR => WITOUT FOUND'

ID_NOT_FOUND = 'ERROR => ID DOES NOT EXIST'

AMOUNT_NEGATIVE = 'ERROR => THE AMOUNT CANNOT BE NEGATIVE'

LOCK_DB = 'ERROR => WE ARE PROCESING YOU REQUEST , PLEASE TRY AGAIN LATER.'

WRONG_TYPE = 'ERROR => ORNG TYPE OPERATION'