Giter Club home page Giter Club logo

adm's Introduction

ADM 2015

Install:

  • Node.js (http://nodejs.org/download/)
  • Gulp global (npm install -g gulp)
  • Bower global (npm install -g bower)
  • npm install
  • bower install

Start:

  • gulp build

Copyright: me & Spiker

LINKS

http://localhost:8888/builds/development/#/signup http://localhost:8888/builds/development/#/login

status users 0 - registered 1 - can donate digit present (email) 2 - full registered (all info in profile, blocked address) ->can donate present 3 - approved user ->can get present

type presents pkg - pakage present digit - present from site

API

LOGIN request POST api/login

parameters
    email
    pass

answer
    JSON {"status": "...", "data": ...}
    status: 0 - error
            200 - OK

LOGOUT request GET api/logout

answer
    JSON {"status": "...", "data": ...}
    status: 0 - error
            200 - OK

SIGNUP request POST api/signup

parameters
    email
    pass

answer
    JSON {"status": "...", "data": ...}
    status: 0 - error
            200 - OK

GETUSERS request GET api/getusers

answer
    JSON {"status": "...", "data": ...}
    status: 0 - error
            200 - OK

TEST request GET api/test

answer
    JSON {"data":{"BD":"..","GET":[],"POST":[]},"status":..}

    status: 0 - error
            200 - OK

    BD: YES - connect
        NO  - bad connect

USERINFO request GET api/userinfo

answer
    status: 403 - no access
            0 - error
            200 - OK

    real_present {
       f_name
       s_name
       address
       status: verifying/blocked
    }
    virtual_present {
       email
       nickname
    }
    real_client {
       f_name
       s_name
       address
    }
    virtual_client {
       nickname
    }

USERUPT request POST api/userupt

parameters
    email
    f_name
    s_name
    address

answer
    JSON {"data":...,"status":...}

    status: 403 - no access
            0 - error
            200 - OK

GETREAL, GETVIRTUAL

request
    GET api/getvirtual
        api/getreal

answer
    JSON {"data":...,"status":...}

    status: 403 - no access
            0 - error
            200 - OK

SENDVIRTUAL, COMMENTREAL data: message

request
    POST api/sendvirtual
         api/commentreal

BAN, BANOUT data: id

request POST api/ban api/banout

GETUSR data: ...

request GET api/getusr

parameters id / ''

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.