Giter Site home page Giter Site logo

c4_tdl's Introduction

c4_TDL

To Do List

TODO 0.1

  • Create dummy static html pages of the following:
    • List a single todo-item
    • List multiple todo-items
    • create a single todo item
  • DO NOT spend a lot of time styling them. You may put in basic bootstrap

TODO 0.2

  • Create dummy data object template for todo items:
``` 
todo_items[
    {
      id: 0,
      user_id: 1,
      timeStamp: '2015/06/15 12:00:00',
      title: 'my title',
      details: 'my details'
    }
]
```
  • Create a local file with json data stored in it, for use with your ajax calls
    • get_todo_items.json
``` 
todo_items[
    {
      id: 0,
      user_id: 1,
      timeStamp: '2015/06/15 12:00:00',
      title: 'get eggs',
      details: 'get jumbo eggs from the supermarket'
    },
    {
      id: 1,
      user_id: 1,
      timeStamp: '2015/06/16 04:00:32',
      title: 'win at life',
      details: 'by winning the lottery'
    },
        {
      id: 2,
      user_id: 1,
      timeStamp: '2015/11/17 11:22:00',
      title: 'proposition parris',
      details: 'to go to the zoo'
    },
```
  • Add basic functionality to your todo-list project to
    • read whole list and show summary data for available items
    • read individual todo-list item and show it specifically
    • create new data.
      • This will eventually send data to the server
      • For now it will simply append the data to the existing list

TODO 1.0 (Group Project)

  • Combine code together to form a group project
    • Your team master branch will be T<YOUR TEAM NUMBER>_Master
    • Fork C4_TDL to your github account / clone to your system
  • LOGIN:
    • add login page
      • 'username' input: holds the name of the user
      • 'password' input: holds hte password of the user
      • 'login' button: triggers the ajax call to the server to log in
    • AJAX request to server to log in:
      • request URL: http://s-apis.learningfuze.com/todo/login
      • input (POST):
        • username
        • password
      • output:
        • success: true/false - whether or not the login was successful
        • status: number - the status of the account (1 is normal user)
        • email: string - the user's email
        • lastName: string - the user's last name
        • firstName: string - the user's first name
        • id: number - the user's ID number
        • errors: array - an array of strings, each holding an error that occurred during the login
        • session_id: string - the new session ID for this user session
  • LOGOUT:
    • add logout button
    • AJAX request to server to log out:
      • request URL: http://s-apis.learningfuze.com/todo/logout
      • input (POST):
        • session_id: string - the current session ID for this user session
      • output:
        • success: true/false - whether or not the login was successful
        • msgs: string - logout message, if successful
        • errors: string: error that occurred during the logout
        • session_id: string - the current session ID for this user session

c4_tdl's People

Contributors

dpaschal-lf avatar

Watchers

James Cloos avatar Scott Bowler 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.