Giter VIP home page Giter VIP logo

mobile-iii's Introduction

Mobile III

Assignment

For this assignment you will be creating a todo list that will take advantage of the existing signup/signin authentication flow that the server had for the last project.

Build out a fully functioning todo list mobile application. Make use of this API to persist your todo list information. Use the signup/signin flow from the previous project as a starting point.

This is the API documentation:

URL: https://mobile-server-ii.herokuapp.com/

Routes

[POST] /users - Requires an email and password property on the body. Returns a JWT and the user's info. Creates a new user in the database.

[POST] /signin - Requires an email and password property on the body. Returns a JWT and the user's info.

[GET] /users - Requires a JWT header called authorization. Returns an array of all users in the database. Useful for debugging.

[GET] /user - Requires a JWT header called authorization. Returns the user that the JWT is associated with.

[POST] /todos - Requires a JWT header called authorization. The body should have a text property that is a String. A new todo item will be added to the user's todos array that's associated with the JWT.

[PUT] /todos/:todoId - Requires a JWT header called authorization. Toggles the specified todo object's completed property to either true or false.

[DELETE] /todos/:todoId - Requires a JWT header called authorization. Removes the specified todo object from the JWT's user's todo's array.

mobile-iii's People

Contributors

sunjieming avatar

Watchers

James Cloos 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.