Skip to content

AbubakarSambo/node.js-Patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node.js express

To run the application, you simply need to run "npm run start", To run the tests, you simply need to run "npm run test"

The /login endpoint takes an object with a username/password combo and returns a token

The token is then attached to the header for the subsequent calls

the /patch endpoint takes in 2 objects, json/patchObj and it applies the patch to the json passed and returns that json

the /thumbnail endpoint takes in a url to an image and returns a base64 encoded thumbnail of that image

The tests are exhaustive touching on the fringe cases also.

The standard library was used for linting, because who doesn't like clean code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published