ypd01018
    • 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
    # Group 2 peer session ## 참여자 - J003 강동훈 - J121 우승진 - J193 조준형 - J210 최홍일 ## 진행 - 자기소개 - 시연 및 과정 공유 - 코드리뷰 - 회고 ## 코드리뷰 ### J003 강동훈 - pug 템플릿 엔진을 사용하실 계획인가요? - 아니요..지워야 합니다! - db 에 create 하실때 담아야할 변수가 많다면 객체로 한꺼번에 넣어주면 좋을꺼같아요. - 개인적으로는 이게 보기 편해서 그렇게 했는데 그렇게 하는게 맞는거같습니다 - model , models 폴더가 두개 있어서 혼란이 조금와서 네이밍을 좀 다르게해주시면 좋을꺼같아요. - model 폴더에 있는걸 models로 옮기거나 다르게 분류하고 싶었는데 에러나서 실패해서 아직 못고쳤습니다 ㅠ - status 코드를 분리한거 좋네요~ - 😁 - sequelize config 파일은 보안이슈때문에 ignore 하는게 좋을 것 같아요! - 넵 이번에 .env를 처음 활용해봤는데 그것도 해봐야겠어요! - router와 service를 따로 분리하신 점이 저랑 다르네요. 한 번 고민해봐야겠어요 - 😁 ### J121 우승진 - 디렉토리 구조가 너무 깔끔해서 좋네요. - 디렉토리 구조는 항상 고민되는데, 아직 프로젝트가 좀 작아서, 줄이려고 노력했습니다! - 파일 이름을 a.b.js 이렇게 하는게 보기 좋네요. 배웠습니다 - 저도 다른분 코드보고 좋은점 같아서 배웠습니다 :+1: - 저번 코드리뷰때? 받은 리뷰사항이기도하고, 크롱님이 말씀하셨던걸로 기억하는데, FE, BE 각각 `module package` 관리를 따로해주는 것도 좋은 것 같아요. 아까 말씀하시기론 웹팩도 FE에만 적용하신다고하니 한 번 고려해보시면 좋을 것 같아요 - 적용해보고 싶었는데 시간이랑 파보고 싶은 부분이 많아 아직 적용해보진 못했네요. 다음번에 적용해보도록 해보겠습니다! - config 디렉터리를 따로 관리하는 방법은 생각도안하고 있었는데, 되게 깔끔하고 좋네요! - 환경 설정 할일이 이제 많이 생기다 보니 폴더로 관리하면 좋은 것 같아요 :) ### J193 조준형 - 라우터에서 GET이랑 DELETE 이렇게 한번에 메서드 묶어 쓸수 있는거 이제 알았네요 ㄷㄷ :+1: - 저도 리뷰해주시는 분이 알려주셔서 배웠습니다! - 응답에서 FAIL이면 응답 코드를 200이 아니라 다르게 보내는게 좋지 않을까요..? - 깜빡했네요! 아직 예외처리같은 부분은 작성하지 못해서 추후에 함께 반영하도록 하겠습니다! - 서비스를 로직을 잘게 쪼개셔 사용하신게 보기 좋았어요. :+1: - ps. 서비스와 컨트롤러 구분이 항상 모호하다고 생각했는데, 덕분에 조금 기준이 생겼네요 참고해서 저도 반영해봐야겠어요 - 감사합니다! - `readme`에 api를 잘 정리하셨네요. 프로젝트 진행하면서 도움이 많이 될 것 같아요. 개인적으로 `markdown`에 표 적용하는건 정말 어렵던데 배우고싶네요 ㅎㅎ - 타이포라에서 작성하면 쉽게 만들수 있어요 ㅋㅋ ### J210 최홍일 - `breakdown`은 어떤 역할인가요? - `breakdown` 은 내역 입니다. 내역관련된 api 처리하는 라우터이름이에요! - service나 controller 디렉터리를 만들어서 서비스 로직을 처리하는게 좋을거같아요 - 현재 디렉터리 구조상 router - service 로 서비스 로직을 처리하고 있기는한데 아직 디렉터리 부분은 어렵네요 - read me 를 깔끔하게 정리하신 부분이나 프로젝트로 마일스톤 및 이슈를 관리한점이 보기 좋았어요. - 관리는 잘하려고하지만 항상 관리가 잘 되지는 않네요 감사합니다 😀 - 시퀄라이즈 config는 gitignore하신건가요? - 네 이그노어 시켰습니다. ncloud db에 직접 접속하다보니 혹시모르는 사태를 예방하기 위함입니다 ☢☣ ## 회고 ### J003 강동훈 - env를 적극 활용해서 repo에 민감한 내용이 올라가지 않도록 하자 - 나도 readme 이쁘게 해야겟다 ㅠ - 라우터 체이닝을 활용해보면 좋겠다 - 언제나 프로젝트 관리가 잘 되지가 않는다. 의식하는 것 필요 ### J121 우승진 - 로직을 잘게 쪼개서 적용하자. - read me 관리 잘하면 멋있어보인다. - 프로젝트 마일스톤 및 이슈관리 꼼꼼히 하면 보기 매우 좋아보인다. - 마지막까지 열심히하자... ### J193 조준형 - 디렉토리를 잘 관리하는 다양한 방법에 대해 고민할수 있었다. - 깃헙의 기능을 잘 활용하자 - 커밋 관리를 잘해야겠다. ### J210 최홍일 - 타이포라써서 리드미를 표로 정리하면 좋을 것 같다. - service - controller 로직에 대해서 많이 배울 수 있었다. - 라우터에서 메서드체이닝을 사용하면 좀더 깔끔하게 볼 수 있다. - 지난 미션까지도 배포는 신경을 잘 못썼는데 좀 신경써봐야겠다. - 멘탈 잘 잡고 끝까지 완주하기

    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