/getir-graduation

https://getir-graduation-mahiruslu.herokuapp.com/

Primary LanguageJavaScript

Welcome to getir-nodejs-bootcamp-graduation-project-mahiruslu 👋

Version Documentation Maintenance

Api Reference

Install

npm install

Usage

npm run start

Run tests

npm run test

Url

https://getir-graduation-mahiruslu.herokuapp.com/

Endpoints

Method: POST /api/report

Post parameters to the endpoint

Parameter Type Desc / Format
startDate String Start Date (YYYY-MM-DD)
endDate String End Date (YYYY-MM-DD)
minCount Number Minimum count value
maxCount Number Maximum count value

Returning Format

{ "code": "0", "msg": "Success", "records": [ { "key": "TAKwGc6Jr4i8Z487", "value": "Getir Task", "count": 310 } ] }

Parameter Values Description
code 0,4,5 Result code. 0 means success
msg Success,Error Short result message
records ... If everthing is ok, returns record datas.
details ... If there is any error, returns error message.

Author

📝 License

This project is ISC licensed.