Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davila23/challenge-agile-engine
Challenge
https://github.com/davila23/challenge-agile-engine
Last synced: about 1 month ago
JSON representation
Challenge
- Host: GitHub
- URL: https://github.com/davila23/challenge-agile-engine
- Owner: davila23
- Created: 2020-06-15T21:42:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T08:59:36.000Z (almost 2 years ago)
- Last Synced: 2023-03-07T21:57:06.261Z (almost 2 years ago)
- Language: JavaScript
- Size: 1.27 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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/
## Postman
DEBIT
CREDIT
GET LIST
## 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'