SaetByeol Ahn
    • 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 New
    • Engagement control
    • Make a copy
    • 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 Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy 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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # WEEK 5 : peer session ### GROUP 11 | 아이디 | 이름 | | --- | --- | | J039 | 김서영 | | J049 | 김원호 | | J099 | 송진현 | | J109 | 안샛별 | ## 프로젝트 진행하면서 궁금했던 점 ### Database - 스키마를 어떤 식으로 설계하였는지 궁금합니다. ### 디렉토리 구조 - 프론트엔드와 백엔드 디렉토리를 어떤 식으로 구성하였는지? - 별도로 구성하셨으면 내부 디렉토리는 어떻게 나누셨는지 궁금합니다. ### 프론트엔드 라우팅 - node.js를 거치지 않고 프론트엔드에서 어떻게 라우팅을 할 수 있는지 궁금합니다. ### Token Authcation - Token 을 이용해서 로그인 하는 것에 장점이 무엇인지 - Token 의 만료기간을 refresh 하는 방법이 무엇이 있는지? ### 옵저버 패턴 - 옵저버 패턴을 적용했다면 어떤 식으로 구조화 하였는지? ### ORM 활용 - 관계(associate) 정의를 어떻게 하셨는지 ## 개발한 내용 공유 ### 서영 😺 - API 구현 완료, Auth는 JWT만 사용 - 마크업 - 트랜잭션 로그를 정리해서 주는 작업 진행 예정 - 옵저버 패턴을 어제 학습했는데 아직 좀 더 학습해야 할 것 같음 - SCSS depth 고민 -> 깊게 하지 않는 것이 좋을 것 같다! #### 리뷰 - statusCode와 message를 구체적으로 보내주면 좋을 것 같다. - async/await을 쓰고 계시니까 then은 고치면 좋을 것 같아요. - 서비스 함수를 static으로 한 이유? - SCSS를 모듈화하기 - rem보다는 em이 더 안전하지 않을까요?~ ### 원호 😸 - passport auth 함수가 여러 번 실행되는 문제가 있었음 - JWT 를 제대로 활용하기 위해서 공부를 더 해야겠다. - Oauth 를 사용하지 못 해서 아쉬웠다. #### 리뷰 - 공통되는 라우터는 미들웨어로 빼면 좋을 듯 합니다. - 파일명을 더 구체적으로 적어주는 건 어떨까요? ### 진현 😼 - front와 back 디렉토리를 나눠서 구성 - front : component 단위로 나누어 개발중 - backend : token을 발급받는 것만 구현, 인가를 확인하면 될 것 같음 - sequelize를 이용해서 데이터베이스 모델 구현 #### 리뷰 - 매직넘버는 상수로 선언해서 쓰면 좋을 것 같아요 - DB를 자주 변경하지 않도록 하는 게 중요할 것 같다. ### 샛별 😽 - 프론트에서 dotenv 사용 - 데이터베이스 공부를 위해 시퀄라이저를 사용하지 않고 sql 직접 작성 - bulk insertion 후 api 테스트에 사용중 - api 명세서 작성 #### 리뷰 - validation 체크를 꼼꼼히 하셨네요 - localStorage에 토큰 저장하신 방법 인상 깊게 봤습니다 ## 소감 및 느낀 점 ### 서영 - JWT, 인증 구현을 더 깊게 공부해야겠다 + OAuth - 프론트 옵저버 패턴 공부를 명확하게 해야겠다(프론트 구조화) ### 원호 - 다른 분들이 너무 잘 짜셔서 배울 것이 많았다. - 프론트 나누어 두신걸 보고, 다시 한 번 생각해보게 되었다. - 더 깔끔하게 짜도록 노력해야겠다. ### 진현 - 다른 분들에 비해서 코드를 많이 못 짠 것 같아 죄송스럽다. - 저의 코드에 대해서 고칠 점을 이야기해주셔서 감사했습니다. - 테스트 코드를 작성하고 싶다는 생각을 해보았습니다. - UI를 만들면서 api를 만들다보니 구현하기에 급급했던 것 같습니다. - 좀 더 구조적인 코드를 짜고 싶다는 생각이 들었습니다. ### 샛별 - 단위 테스트 코드를 작성해봐야 할 것 같다. - 프론트엔드 state 관리를 다시 생각해봐야 할 것 같다. - 시간이 되면... OAuth..를 ...해보겠...습니다.... 글쎄요... - 옵저버 패턴을 공부해봐야겠다는 생각을 했습니다.

    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