/my-api-v2
   .env                # h׃ (DB , Mail )
   server.js           # ʽ (Entry Point)
   src/
      config/
         db.js       # MariaDB BO
      services/
         ormService.js   #  ORM c SP ߉݋
         uploadService.js # nς߉݋
         mailService.js   # ]cų߉݋
      utils/
          helper.js        # ͨùߺʽ (quotstr, date format)
   public/upload       # nςĿ
  
>> https://gemini.google.com/app/57091040afbd48e1  
  
  
# 1. ʼ npm  (δ)
npm init -y

# 2. b Web cȫ׼
npm install express cors helmet dotenv

# 3. bYώ (MariaDB/MySQL)
npm install mysql2

# 4. bn̎cς׼
npm install multer

# 5. b]cų׼
npm install nodemailer node-schedule

# 6. bMA Log ϵy
npm install morgan winston winston-daily-rotate-file

# 7. (x) b_lhԄ؆
npm install --save-dev nodemon




