Skip to content

100-hours-a-week/2-semi-hyun-community-be

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2-semi-hyun-community-be

🍀1. 정리

🍀2. 스택

Node.js, JavaScript

🍀3. 기능

  • 사용자 별 게시글 작성/수정/삭제 기능 구현
  • 게시글 댓글 기능을 통해 상호작용 가능
  • 나만의 닉네임을 가져봐요★

🍀4. 폴더구조

2-semi-hyun-community-be
├─ .gitignore
├─ .vscode
│  ├─ launch.json
│  └─ settings.json
├─ app.js
├─ package-lock.json
├─ package.json
├─ README.md
└─ server
   ├─ Controllers
   │  ├─ authController.js
   │  ├─ commentController.js
   │  ├─ dashboardController.js
   │  └─ userController.js
   ├─ data
   │  ├─ images
   │  └─ json
   │     ├─ login.json
   │     └─ posts.json
   ├─ Middlewares
   │  └─ authMiddleware.js
   ├─ Models
   ├─ Routes
   │  ├─ authRoutes.js
   │  ├─ dashboardRoutes.js
   │  └─ userRoutes.js
   └─ Service
      ├─ multerConfig.js
      ├─ PostService.js
      ├─ SignUpJson.js
      ├─ TimeStamp.js
      └─ UserService.js

🍀5. 파일구조

graph TD
    A[app.js] --> B[Routes]
    A --> C[Middlewares]
    
    B --> D[authRoutes.js]
    B --> E[dashboardRoutes.js] 
    B --> F[userRoutes.js]
    
    D --> G[authController.js]
    E --> H[dashboardController.js]
    E --> I[commentController.js]
    F --> J[userController.js]
    
    G --> K[Services]
    H --> K
    I --> K
    J --> K
    
    K --> L[SignUpJson.js]
    K --> M[PostService.js]
    K --> N[UserService.js]
    K --> O[multerConfig.js]
    
    L --> P[(JSON Files)]
    M --> P
    N --> P
    O --> R[(Images)]
    
    C --> Q[authMiddleware.js]
    Q --> D
    Q --> E
    Q --> F
    
    subgraph Storage
    P
    R
    end
    
    subgraph "Images Directory"
    R --> S[posts]
    R --> T[profile]
    end
    
    subgraph Services
    K
    end
    
    subgraph Controllers
    G
    H 
    I
    J
    end
    
    subgraph Routes
    D
    E
    F
    end

    subgraph "Auth Flow"
        Q --> U((Session Check))
    end

Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published