Skip to content

kdrahul/webapi_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webapi_test

NOTE: This repo is purely made for academic purpose.

NextDate problem

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

Dependencies

  • express
  • mocha
  • chai

Installation

Pre-requisites

NodeJS must be installed, npm(comes with nodejs) must be installed with it.

Execution

Clone this repository. cd into this project

npm install

  • Run npm start to start the server and test it through curl or Postman or directly through browser
  • Run npm test to run the test cases of given dates in test/test.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published