Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
/ server-posyayee-v1 Public archive

API For posyyee-v1 Now move to new posyayee “posyayee-v2”

Notifications You must be signed in to change notification settings

boytur/server-posyayee-v1

Repository files navigation

POSYAYEE API

หลักการทำงาน

Image

 git clone https://github.com/boytur/POSYAYEE-API.git
 cd POSYAYEE-API
 npm install

Add .env file

PORT = YOUR_PORT
MONGO_DB_URI = YOUR_MONGO_DB_URI
JWT_SECRET = YOUR_JWT_SECRET
TOKEN = YOUR_LINE_NOTIFY_TOKEN
 mkdir uploads
 npm start

อัพเดตครั้งที่ 1

  • เปลี่ยนวิธีเก็บข้อมูลจากลิงก์เป็นอัพโหลดเก็บที่ server และเก็บ path เข้า db เนื่องจากพอเก็บเป็นลิงก์ลง db แล้วความเร็วการดึง API ช้ามากและ db บวม