Git Product home page Git Product logo

laboratorio3-sistdist2020's Introduction

Laboratorio 3 - Particionamiento

Integrantes 👨👩

  • Nacimiento, Martin
  • Senghaas, Evelin

Requisitos ✋

  • Node.js

Comenzar 🚀

Para utilizar el proyecto usted debe:

  • Clonar el repositorio.
  • Una vez clonado el proyecto ejecuta en tu consola npm i para instalar las dependencias.
  • Para ejecutar el proyecto npm run dev.
  • Para probar la API, puede utilizar cliente HTTP como Postman o Insomnia.

Endpoints 🗺️

En el archivo index.js se encuentran los endpoints o rutas de entrada del almacenamiento clave-valor.

Ruta Método HTTP Llamada al método Retorna
/ GET get(key) valor, error
/ POST save(key, value) 0, 1, error
/ DELETE delete(key) valor, error
  • 0: Si la clave no existía (Se creo una nueva clave-valor).
  • 1: Si la clave existía (Se actualizo el valor de la clave).
  • valor: el valor asociado a la clave en el almacenamiento.
  • error: puede darse por
    • mal formato de la clave
    • la clave no existe

Store 🏪

El servicio de almacenamiento clave-valor se encuentra en el archivo services/Store.js. La clase Store implementa los métodos get, save, delete anteriormente mencionados.

laboratorio3-sistdist2020's People

Stargazers

 avatar

Watchers

James Cloos avatar Martin Nacimiento avatar

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.