Giter Club home page Giter Club logo

pair's Introduction

Pair

Dating App for Mhack2015

##TODO:

  1. Building a server that can handle GET request from Yo server when a user Yo his/her partner. Process request and send an update to his/her partner from the server side.(proposed solution-firebase)
  2. (Front-end)Continue improving the login/register module to include visual form validation.
  3. (Database)Contruct a storage format to store boyfriend girlfriend pair. When pairing two person, should generate an unique roomId that allows us quickly identify this couple. rooms[couple's RoomID] = array of yo history

##Proposed Structure:

###Client:

  1. Client side has two modes: Seme and Uke
  2. Seme mode user will subscribe to the Uke mode user
  3. Uke mode user will set up several information including wishlist, location and update period
  4. Seme can only subscribe one Uke user at a time and vice versa.
  5. Clients will have call back function to the Server's database for "vibration"

###Server:

  1. Server side will receive http request from client.

###Request Definition:

####Seme:

  • GET: /api/int:userid/
    • get the current state of Uke
  • POST: /api/int:userid/vibrate
    • post a vibration to uke
  • POST: /api/int:userid/change
    • change from seme to uke
  • POST: /api/int:userid/
    • subscribe to the uke (uke id will in the post request)
  • DELETE: /api/int:userid/
    • delete the current uke subscribe
  • PUT: /api/int:userid/
    • update to a new uke subscribe (uke id will in the put request)
  • Callback Func:
    • Callback function by using firebase when semma send a vibrate

####Uke:

  • GET: /api/int:userid/
    • get the current state
  • POST: /api/int:userid/
    • update uke settings
  • POST: /api/int:userid/vibrate
    • post a vibration to sema
  • POST: /api/int:userid/change
    • change from uke to seme
  • POST: /api/int:userid/newlist
    • create a new list
  • POST: /api/int:userid/int:listid
    • add new entry to the list
  • GET: /api/int:userid/int:listid/int:entryid
    • view the specific entry
  • POST: /api/int:userid/int:listid/int:entryid
    • move the specific entry
  • DELETE: /api/int:userid/int:listid/int:entryid
    • delete the specific entry
  • Callback Func:
    • Callback function by using firebase when semma send a vibrate

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.