NOTE
: This repo is purely made for academic purpose.
The NextDate problem is an easy program which generates the next valid date for a given date.
We can test that code by using npm test
. It points to test cases written in
test/test.js
express
mocha
chai
NodeJS must be installed, npm(comes with nodejs) must be installed with it.
Clone this repository. cd
into this project
npm install
- Run
npm start
to start the server and test it throughcurl
or Postman or directly through browser - Run
npm test
to run the test cases of given dates intest/test.js