Skip to content

ltegman/simple_http_with_persistence

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

#Basic HTTP Server With Simple Persistence

##To Submit this Assignment

  • fork this repository
  • write all of your code in a folder containing your name
  • push to your repository
  • submit a pull request to this repository
  • submit a link to your PR in canvas

##Description

For this assignment, write an http server that will act as a simple data store. It should respond to GET/POST requests for a single resource of your choosing. The data coming in from a post request should be saved to a json file in a data folder in your repository, do not commit your data folder to git. For example if a request is sent to /notes with a body of {noteBody: 'hello world'} the json data in the body should be stored in it's own json file. You can pick a naming scheme for the file but I would recommend using the number of files that you have received so far. Submit as a pull request to your own repository.

##Rubric:

  • Handles REST requests: 3pts
  • JSON storage: 3pts
  • Tests: 2pts
  • Project Organization and Development Files: 2pts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published