Posts

Showing posts with the label project

多人協作 simple twitter 專案心得

多人協作 simple twitter 專案,是 Alpha Camp 學期三 的最後一份作業。我們這組的分工是前端兩個人,後端兩個人,我負責後端。 專案成果 Demo 使用者登入頁面: https://tingchun0113.github.io/twitter-vue-2020/#/login/ 測試帳號:user1@example.com 密碼:12345678 管理員登入頁面: https://tingchun0113.github.io/twitter-vue-2020/#/admin/ 測試帳號:root@example.com 密碼:12345678 後端 Heroku 伺服器: https://twitter-socket-1.herokuapp.com 程式碼 後端 GitHub: https://github.com/s091173/twitter-api-2020 前端 GitHub: https://github.com/mryixue/twitter-vue-2020 我負責的任務 建立 model,和建立 model 之間的關聯 加入 JWT 驗證機制 路由: /api/admin /api/followship /api/chat /api/user 底下的七條路由: /current、/top、/:id、/:id/followings、/:id/tweets、/:id/replied_tweets、/:id/likes 將專案部署到 heroku 撰寫 api 文件和 README 在我所知的範圍內,盡量實現「不要相信前端來的資料,後端一定要再驗一次」的精神 實作伺服器端的公開即時聊天功能、在資料庫保存公開聊天的歷史訊息 溝通 事前準備 如果我沒記錯的話,組員都是從 Alpha Camp ...