Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.58 KB

README.md

File metadata and controls

35 lines (30 loc) · 1.58 KB

AskMe

People ask questions and others answers them

files-based system ( serialization technique )

  • Every time the user run it, you see the previous state (users/questions/answers)
  • Multiple users can use it in same time (parallel)
  • You send question. I see it
  • I answer the question or remove it, you see this update

Login/Sign up/Sign Out

  • Any system allow a user to sign up (username, email, password)
  • Also: As a user do you allow anonymous questions?

User operations

  • Print questions: From you, To you, Feed Questions
  • Ask and answer questions.
  • Delete a question

Every user has a system generated ID

  • Same for every question

A thread question

  • If a question is answered. Others can ask questions in the original question thread
  • E.g. original question is parent for all of them
  • If this parent question is removed, the whole thread is removed

Correctness

  • You can’t do something wrong!
  • E.g. you can only remove your question which asked to someone else.
  • You can only see/edit the details of your question.
  • Read the note above the Controller class.

Screen shots

11

22

33

44