Skip to content

hirparamilan/node_practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Back End Challenge14

Create a REST API using any language or web framework you prefer, which performs the following functionality:

  • Provides a POST endpoint at /data where a user submits a JSON formatted list of 500 random numbers. The list has to be exactly 500 numbers, if there are more or less than 500 an error must be returned. Similarly, if something other than a list of numbers is submitted, an error must be returned.
  • Provides a GET endpoint at /data which provides the same JSON formatted list of 500 numbers that are sorted from lowest to highest.

BONUS:

  • Provides a PATCH endpoint at /data which allows insertion of a single number into the list which gets placed in the proper order.

About

This is a demo repository for practicing node.js code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors