TIM HSU
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 我要長大 - side project 常見問題 ## SwaggerHub https://app.swaggerhub.com/apis/hsuchihting/qa-category/1.0#/Groups/get-api-groups-getmenu ## wireframe ![](https://i.imgur.com/HG8x0ot.jpg) ## 新增 * 按鈕按下第三層的選項,要有表格。(/api/Groups/CreateGroup):Post 新增群組 * 新增按鈕 API,都是未審核。 #### 新增詳細功能 * 問題的標題、審核選單、答案、當天日期、下架日期(往後加14天) (/api/Groups/CreatSubject):Post 新增群組內問與答 ## 查詢關鍵字(標題) * 群組查詢 (/api/Groups/GetMenu): Get 取得群組清單 * QA 查詢(/api/Groups/GetSearchPage): Get 搜尋(Loading所有資料) ![](https://i.imgur.com/VChY8x6.jpg) ### 功能 * 取得特定第三類所有subject (/api/Groups/GetSubjectPage) (前台click事件也需要這支) * 編輯按鈕 API。(/api/Groups/EditSubject):Patch 編輯問與答 * 刪除按鈕 API。(/api/Groups/DeleteSubject):Delete 刪除問與答 ### 順序 * 基偶數判斷審核狀態。 ### 審核狀態 * 審核狀態 寫死 已審核(0)、未審核(1)、審核中(2)。 ### 上下架時間 * 上架時間(當天日期) * 下架時間(往後+14天)。 ### 彈窗跳頁 * 詳細彈窗呈現 table,跳轉 QA 頁面。 ## 前台 QA ![](https://i.imgur.com/b9TiPo3.jpg) * 渲染所有問題的QA。 ## data ![](https://i.imgur.com/7EWPHpK.png) ## 前端 ### 開發 * Angular 12 ### 功能 * QA 分類及 QA 問題本身的 新增、修改、刪除、查詢。 * 查詢功能要有分頁、排序(自幹、用套件隨意)。 * 分類至少要有3層。 * 前端功能要求需有基本巢狀資料結構操作。 * 可透過關鍵字查詢巢狀資料結構並於列表呈現出來如下圖。 ## 後端 ### 開發 * Asp.net Core Web Api ### 專案架構 * 至少要有 3 tier 架構,要有 DI 規劃 * Data Schema : 隨意 noSQL 、 RDBMS 都行, csv 、txt 都行 ### 功能 * QA 分類及 QA 問題本身的 新增、修改、刪除、查詢 肯定要有(廢話)。 * 查詢功能要有分頁、排序(自幹、用套件隨意)。 * 分類至少要有3層。 * 可在問題列表使用關鍵字查詢分類、問題及答案內文。 > 其它沒提及的可以自由發揮想像,程式功能越豐富越好 ### Data schema規劃 >初期規劃 ![](https://i.imgur.com/jGHCKJ3.png) >ViewModel ![](https://i.imgur.com/KYA5q7P.png) > 由於有三個分類,目前預計開三個model,firstgroup為大類,大類裡包含了secondgroup的model(此為第二分類),second group裡包含了最小分類的model,這層為最內層,主要用來儲存QA的新增資訊 ### 預計開發api 主要可能有三個頁面 >(1)群組分類管理頁面--點擊小類別後-->(2)進入QA管理頁面 >(3)前台QA顯示頁 1. 群組類別CRUD(後台) 2. QA問題CRUD +COPY(點擊進小類後的頁面功能) 4. QA getMethod(給前台) ### 實際開發api 1. 群組類別CRUD(後台) 2. QA問題CRUD 4. QA getMethod(給前台)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully