一個基於 React, nodejs 所寫的部落格 web: momoblog/ api: momobackend/
cd momoblog/
npm start
cd momobackend/
npm start
for momobackend/
npm run test // run test case
npm run dev // 開發模式測試
為了避免CORS問題,
需要在兩個資料夾內設定相對應的Hook,
以通過瀏覽器安全性檢查功能(CORS),
momoblog/util/config
momobackend/util/config
exports = module.exports = {
url: 你的URL,
}