Skip to content

getir-nodejs-bootcamp/getir-nodejs-bootcamp-graduation-project-meroo36

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getir Nodejs Case Study

Installation

Clone project and install project dependencies with npm

  git clone https://github.com/meroo36/getir-studycase
  cd getir-studycase
  npm install

Before starting the project please provide the environment variables.

To start project on development mode

npm run dev
npm run start

To run tests :

npm run test

API Reference

Filter Records

  POST /api/records
Parameter Type Description
startDate String YYYY-MM-DD format
endDate String YYYY-MM-DD format
minCount Number Min count
maxCount Number Max count

Environment Variables

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

MONGO_URI -> Mongo URI which Getir gave

PORT -> Server port

Test Output Documentation

After running tests, jest creates a file to visualize the test result it can be found at /coverage/lcov-report/index.html. The html file contains formatted and visualized test results.

Demo

https://getir-studycase.herokuapp.com/api/reports

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published