Front-line-dev
    • 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 4 피어세션 ## 피어세션 멤버 - 김민성 J035 - 김종은 J053 - 류남광 J064 - 유현우 J127 ## 코드리뷰 ### 김민성 J035 - 로그인을 헤더에서 user id를 입력해서 한다 - 도메인 등록! :+1: - 선택 사항들은 빼고 필수 사항들은 모두 구현 완료 - History는 최근 10개만 보여준다 - Drap and Drop API 사용 - Log 저장할 때 description 자체를 저장 - TimeStamp 값 자체를 DB의 bigInt에 저장 `Date().getTime()` -> `Date(number).toDateString()`으로 js에서 사용 - 카드 순서를 linked list로 구현 - 진정한 DB는 Delete를 사용하지 않는다 -> `visible` column 사용 - 데이터가 바뀌면 - Deploy.sh는 사용! - forever를 사용해서 자동으로 배포하도록 - 서버가 멈췄을 때 자동으로 재시작하도록 해줌 - `bash deploy.sh` - Heidi 짱 좋음! - 한글은 3 byte가 될 수 있기 때문에 Varchar을 1500으로 지정 - 프론트에서 `response.json()`처럼 사용할 수 있음 - 유저는 자기가 가진 Todo들만 변경하도록 함 → 유저 세션의 id와 request의 id를 확인 - `stopImediatePropagate` - x 버튼을 누르면 delete 뿐만 아니라 수정 모달 event도 fire 되어서 `stopImediatePropagate`을 통해서 x 버튼에 대한 event는 삭제만 실행되도록 제한한다. - transition 사용함 - class를 사용하지 않음 → 글로벌 변수가 만들어지기 때문 - class를 다시 사용할 일이 없어서 - 사용자가 글로벌 변수에 접근 할수도 있어서 - `insertAdjacentHTML` - 순서를 지정해서 넣을 수 있음 - fetch 함수를 만들어서 변수를 통해서 필요한 값만 바꾸도록 함 ### 김종은 J053 - menu에서 로그인 - 카드 생성까지 개발 - 새로고침 시 새로 로그인 - 데이터베이스 쿼리 모아둠 - 로그인은 미들웨어 거쳐 로그인 상태 체크함 - 클래스로 관리 - card, column - board에 이벤트 등록. event delegation - scss 사용 - webpack sass-loader - 변수를 지정할 수 있어 편했음 - mixin 사용 - indentation을 톨한 DOM 선택 - webpack url-loader 시도, 잘 안 됐음 - webpack에서 image의 이름을 원하는 것으로 지정할 수 있음 → ```javascript // webpack.config.js test: /\.(png|gif|svg|jpe?g)$/, loader: "file-loader", options: { name: "[name].[ext]?[hash]", }, ``` - SQL → 쿼리 문으로 필요한 모든 카드의 order를 update함 - husky랑 lint-staged사용 ### 류남광 J064 - 브라우저를 실행하면 필요한 데이터들을 바로 fetch한다 - 로그를 간단하게 표시 → 어느 카드에 어떤 action을 했는지만 표시 - 수정 모달을 띄워주는 것까지만 구현 - 액션마다 로그를 바로 생성 - class로 card와 column을 관리 - html구조를 만들어 주는 함수 - 만든 구조를 원하는 곳에 넣어주는 함수 - `innerHTML`를 사용하면 등록한 이벤트가 사려져서 `insertAdjacentHTML`를 사용 - 애니메이션을 사용! → 메뉴 나타가고 사라질 때 - card와 column의 데이터를 불러올 때 array에 저장해서 관리 - 관리하기 더 편함 - 카드를 감싸고 있는 모든 div에 event를 등록[](https://) - 문자를 바로 넣지 않고 [html escape code](https://www.freeformatter.com/html-entities.html)를 사용하기 - x + → × + - `x + `→ `× +` - Animation css - `transform` - `transition` ### 유현우 J127 - 배포! :100: - 카드 생성 기능 구현 완료 - Column을 동적으로 생성 - `innerHTML` - event 사라지는 문제가 발생 - `createElement` 사용 - class를 사용해서 관리 - 메모리 관리 및 누수 발생 가능성?! - 프로젝트 설계 및 설정에 많은 고민을 했음 - 구조 및 로직을 나누는 단위에 대해서 고민을 많이 했음

    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