Coder Social home page Coder Social logo

missionpublicationsystem-sever's Introduction

title tags
Mission Pub Sys_Server
1092, Python

Mission Publication System

msg

Account

  • information

    • account
    • password
    • username
  • sign in

    • client -> server
      account signin 'account' 'password'
      
    • server -> client
      account signin success 'username'
      
      account signin fail
      
  • sign up

    • client -> server
      account regist 'account' 'password' 'username'
      
    • server -> client
      account regist success/fail
      

Mission

  • information

    • name
    • destination
    • deadline
    • salary
    • content
  • create

    • client -> sever
      mission create 'missionname' 'destination' 'deadline' 'salary' 'content'
      
    • sever -> client
      mission create success 'missionname'
      
  • search

    • client -> sever
      mission search all
      
      mission search get
      
      mission search post
      
    • sever -> client
      mission search 'missionname' 'missionname' ......
      

      json未建立 或 無此任務

      mission search 
      
  • search keyword

    • client -> sever
      mission search keyword missionname|destination|content 'target'
      
    • sever -> client
      mission search keyword missionname|destination|content 'result1' 'result2' ......
      

      json未建立 或 無此結果

      mission search keyword missionname|destination|content
      
  • detail

    • client -> sever
      mission detail 'missionname'
      
    • sever -> client
      • 此帳號是否可評價此任務的接取者
        mission detail scorable/nonscorable 'postname' 'missionname' 'destination' 'deadline' 'salary' 'content'  
        
        • 帳號需相同於post account
        • 任務需完成
    • json未建立 或 無此任務
      mission detail fail
      

      應不會發生

  • score

    • client -> sever
      mission score 'missionname' 1/-1
      
    • sever -> client
      mission score success/fail
      
  • get

    • client -> sever
      mission get 'missionname'
      
    • sever -> client

      比對 跟任務不同的 account 才可以 get

      mission get success 'missionname'
      

      json未建立 或 跟任務相同account 或 無此任務

      mission get fail
      
  • complete

    • client -> sever
      mission complete 'missionname'
      
    • sever -> client

      比對 跟任務相同的 account 才可以 complete

      mission complete 'missionname'
      

def msg_handler

  • returen:

    • dict
    • like the information above
  • arg:

    • str(msg, encodeing='Big5')
    msg_dict = msg_handler(str(msg))
    

missionpublicationsystem-sever's People

Contributors

aikidouser avatar popcorn31029 avatar hackmd-deploy avatar

Watchers

 avatar

Forkers

fallantbell

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.