Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.56 KB

File metadata and controls

37 lines (24 loc) · 1.56 KB

RuiGuang Line Bot

This bot is design for user who live in "Neihu District, Taipei" or RuiGuang Social Housing. Hope this project can be useful for everyone who live together in Neihu.

About us

We are a part of member in Youth Innovation and Feedback Program which program is design for bring more young, differential profession power into social housing and community.

Introduction

TBD;

Development

Environment Setup

  1. Setup infrastructure/environment with docker swarm and docker secrets (See README.md in folder)
  2. Copy .env.example to .env and fill up fields you need.

How to start

  1. Run node server.js open http server on 5000 port(default).

    Web API: /api Liff API: /liff Bot API: /webhook/{platform}

  2. Run ngrok http {5000 || port} for HTTPS reverse proxy using ngrok.

    Reference: Ngrok Official

  3. Setting Line bot webhook url https://{ngrok url}/webhook/line to Line Developer Console (in Message-API tab).

Reference