/youbike-notify-bot

A cron bot for querying YouBike stations deployed on Render cloud web service.

Primary LanguageJavaScriptMIT LicenseMIT

youbike-notify-bot

ubike-robot-result

Introduction

The Node.js-based LINE bot

  • Quick queries
  • Cloud deployment
  • Cron

Cron

cron node-cron

Requirements

Node.js 14 or higher

Installation

  • git clone https://github.com/chienniman/YouBikeNotify-Bot.git
  • npm install
  • cp .env.example .env

Deployment(render)

nodejs-on-rende

1.Configure render.yaml
2.Add a Web service
3.Create a public Git repository
4.Set up name, environment, and region

deploy-success

Limitations

  • Free instance types are not available for Private Services, Background Workers, or Cron Jobs.

Ref

line-bot-sdk-nodejs