Open
Conversation
…lete other users tweet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
宣言:我在此聲明這個任務是我個人完成的工作。
Admin帳號:admin@example.com
Admin密碼:123456
vFork & Clone 下載自動測試專案
v將 AC 專案 fork 回你的 GitHub 目錄
v從你的目錄 clone 專案到本地端
v進入本地專案,進行初始化
v依指定需求撰寫程式碼
v以下為「社群網站」專案的 User stories:
v除了註冊和登入頁,使用者一定要登入才能使用網站
v使用者能創建帳號、登入、登出
v除了信箱和密碼,使用者在註冊時還能設定自己的名稱
v使用者的名稱不能重覆,若有重覆會跳出錯誤
v使用者能編輯自己的名稱、介紹和大頭照
v使用者能瀏覽所有的推播 (tweet) show
v使用者能在首頁看見跟隨者 (followers) 數量排列前 10 的使用者推薦名單
v點擊其他使用者的名稱時,能瀏覽該使用者的個人資料及推播
v使用者能新增推播
v(限制在 140 字裡)
v使用者能回覆別人的推播
v使用者可以追蹤/取消追蹤其他使用者(不能追蹤自己)
v使用者能對別人的推播按 Like/Unlike
v任何登入使用者都可以瀏覽特定使用者的以下資料:
vTweets:排序依日期,最新的在前
vFollowing:該使用者的關注清單,排序依照追蹤紀錄成立的時間,愈新的在愈前面
vFollower:該使用者的跟隨者清單,排序依照追蹤紀錄成立的時間,愈新的在愈前面
vLike:該使用者 like 過的推播清單,排序依 like 紀錄成立的時間,愈新的在愈前面
v管理者登入網站後,能夠進入後台頁面
v管理者可以瀏覽所有的推播與
v推播回覆內容
v管理者可以刪除使用者的推播delete
v管理者可以瀏覽站內所有的使用者清單
v該清單會列出他們的活躍程度(包括推播數量、關注人數、跟隨者人數、like 過的推播數)
v管理者可以瀏覽站內所有的使用者清單,該清單按推播文數排序