tidi
v0.1.2
พบกับ Tidi องค์ประกอบแชทฟอง 2kb สำหรับเว็บไซต์ใด ๆ ... ทำโดยใช้ PREACT ทำงานด้วยบริการแบ็กเอนด์ที่รวบรวม 4MB
ส่วนหน้า

แบ็กเอนด์

ฉันทำโครงการนี้เพื่อความต้องการที่เฉพาะเจาะจงนั่นคือ 'แชทสด' ของ Lite บนแพลตฟอร์มบางอย่างเช่น Twitter จากฟีเจอร์ "Twitter Space" ความคิดสุดท้ายคือการมาพร้อมกับส่วนขยายของเว็บที่สามารถอนุญาตให้แชททั่วอินเทอร์เน็ตได้

แบ็กเอนด์ควรทำงานก่อนหน้าส่วนหน้า ...
# start the docker container
cd backend && make docker-run
# or using pm2 :
# cd backend
# pm2 start --name tidi-backend make -- docker-run # Start the backend app
cd backend && make run บริการควรทำงานบนพอร์ต :1324
# This step is optional, because you can use the provided dist resource,
# ths command will install dependencies, build bundles to be consumed
# copy the appropriate html file in dist
make build-dist
# then serve the dist folder with an http server
cd dist && http-server # install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev แอพควรเข้าถึงได้บนพอร์ต :8080
สมมติว่าคุณต้องการรวมเข้ากับแอปพลิเคชันของคุณคุณจะต้องส่งผ่านไปยังส่วนประกอบสองพารามิเตอร์:

ฉันจัดการเพื่อสร้างส่วนขยายเว็บโครเมี่ย
คลิกที่ภาพเพื่อดูวิดีโอ:
