manyu1225 / HW_F

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API 規格 Open browser with

使用技術

  1. nodeJs
  2. MongoDB
  3. oauth2.0(LINE LOGIN API)
  4. postman
  5. Swagger 6 jwt(https://jwt.io/)
  6. Heroku

🔨 Build and Run

此專案會用到的 Framework / Library 或工具

💻 Getting Started

  1. Clone the Repo
  git clone https://git.heroku.com/g11herokuexpress.git
  1. Install NPM packages
cd packages
npm install
  1. Setup .env to connect DB
cp .env.example .env
設定 .env 參數,遠端資料庫使用 MongoDB Atlas
  1. Start Runing Server
npm run dev
  1. Deploy to heroku
git push heroku main
  1. Setting Heroku Variable

  2. DEBUG in Heroku

heroku logs --tail

About


Languages

Language:JavaScript 99.0%Language:Shell 0.6%Language:HTML 0.3%Language:Sass 0.2%