Skip to content

getir-nodejs-bootcamp/getir-nodejs-bootcamp-graduation-project-yavuzakin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Case Study

  • Code is written in Node.js using Express framework.
  • Endpoint handles only HTTP POST requests.
  • Application is deployed to Heroku.
  • Layered architecture is implemented.
  • Error handling is implemented.
  • Logging is implemented. (src/logs/..)
  • Test is applied.

Installation

Use the package manager npm to install project.

  git clone https://github.com/getir-nodejs-bootcamp/getir-nodejs-bootcamp-graduation-project-yavuzakin.git

  cd getir-nodejs-bootcamp-graduation-project-yavuzakin

  npm install

Run

Use the package manager npm to run project.

  npm start

Test

Use the package manager npm to test project.

  npm test

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MONGODB_URL, PORT

API Reference

Fetch filtered records

  POST /api/v1/records
Description Required Body Fields
Returns records filtered by required body fields startDate, endDate, minCount, maxCount
Body Fields Description
startDate YYYY-MM-DD format. The earliest date
endDate YYYY-MM-DD format. The latest date
minCount Number. The minimum value
maxCount Number. The maximum value

Public URL

https://yavuzakin-getir-task.herokuapp.com

Technologies Used

Server: Node, Express

Client: Postman

About

getir-nodejs-bootcamp-graduation-project-yavuzakin created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published