Git Product home page Git Product logo

asynchronous-todo-application's Introduction

asynchronous-todo-application

clone the boilerplate code from this repository: https://github.com/apprenticecloud/asynchronous-todo-application

In this assignment you are supposed to convert the todo application to utilize a fake json server and asynchronous api calls. Resources on how to do that are already in the projects module that is the (asynchronous communication - advanced). Make sure you go through the resources. This will ease in the pressure that may arise if you have never used axios or json-server before.

Quickstart on how to start the fake server.

first go into the fake-api folder in the repo and open the terminal from there then type out the following command in order

    npm install -g json-server
    npm install
    json-server --watch db.json --port 8000

Although, I highly recommend you go and watch the json-server resource before doing all this. Also watch the axios resource.

The main.js file in this project might have some alterations as I had put in some examples for you. The original file structure can be found in the following repository: https://github.com/EdwinMurimi/todo-test-app

Here you will get the original code and you could clone it and interact with the todo app and get to understand it better before translating it into the asynchronous api calls using json-server and axios.

NOTE: This application can be difficult to anyone who is new to programming not forgetting anyone who has never used json-server or axios before so I recommend you watch the videos in the resource before attempting this.

NOTE: Let your server run on port 8000. This is mandatory for all of us to be able to test out your published final application (more on the port stuff can be found in the resource).

Happy coding :)

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.