Giter VIP home page Giter VIP logo

http_with_persistence's Introduction

HTTP Server With Persistence

To complete this assignment:

  • fork this repository (the sub module for this specific assignment)
  • clone down your fork
  • place all of your work in a folder that is your full name, use _s instead of spaces
  • push back up to your fork
  • create a pull request back to the original repo
  • submit a link to the PR in canvas

Assignment 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 route and 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 "/note_one" with a body of {noteBody: 'hello world'} the json data in the body should be stored in it's own json file data/note_one.json. A get request to the same route should return the data contained in the json file.

Rubric:

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.