Code Monkey home page Code Monkey logo

giftr-dom-crud-ajax's Introduction

Giftr™

Welcome to Giftr™! Please build out the following features without using AJAX. For the first part of this application, just focus on full CRUD with DOM manipulation without persisting any changes to the server.

  • In src/giftData.js is all the gift data. Build out the following features:

    • A user should be able to see all of the gift data on initial page load
    • A user (any user, don't worry about authorization) should be able to edit a gift's details
    • A user should be able to delete a particular gift
    • A user should be able to search for and filter particular gifts with names that include a particular search query.

Once all of the features listed above are working, add AJAX to persist changes to your database. A RESTful JSON API is being faked using a node module (js package) called json-server

  • To install, run the following line of code in your terminal: $ npm install -g json-server
  • To run the package and host your 'server': $ json-server --watch db.json
  • Change your program so that the gifts are being loaded in from the server instead of the giftData.js file. You may want to comment out the line in index.html that loads the file in.
  • A user should be able to perform the same CRUD actions listed above and persist changes to the database.

giftr-dom-crud-ajax's People

Contributors

realandrewcohn avatar

Watchers

James Cloos avatar La Skilzs 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.