Giter Club home page Giter Club logo

kg-task's Introduction

Wiring todo with backend

Context

This application is currently fully functional, but if you reload the page, none of the to-do items are saved. We need to store the to-do values on the backend.

Play with the application

  • You can add todo by adding text and clicking on add button
  • you can delete todos by clicking on delete button
  • you can mark the task as completed by clicking on the "Complete" button.

Task 1 (storing in backend)

  • When you add the todo make a POST request to backend and store the todo in the databsae

Task 2 (retriving)

  • When you reload the page make a GET request from backend and populate the TODO that you previously stored

Task 3 (Deleteing)

  • When you delete the task make sure to delete in the backend as well
  • Reload the page and see if the task is deleted

Task 4 (Making as completed)

  • When you click on "Complete" the task should be marked as complete and should be presisted in backend as well
  • Reload the page and see if the task is complete

Hint

  • Checkout todo.py which act as a database model file.

Task 5 (implement authentication)

  • Create Email/password based authentication and allow to read only if the user is not logged in.

kg-task's People

Contributors

dreamerchandra 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.