Skip to content

JE0112/emergencyRoom-ChatBot

Repository files navigation

EmergencyRoom-ChatBot

made-with-javascript made-with-javascript

EmergencyRoom-ChatBot is a chatbot service delivered on line-messenger platform.

For End Users

Getting Started

Add the ChatBot's line channel

Find Emergency Room near you

  1. send any message to activate the EmergencyRoom-ChatBot.

1_activate

  1. send your current location

2_place

-

For Developers

Installation

Requirements

This project was built on Amazon Linux 2 on ec2 instance of aws. Following instructions will be compatible on Amazon Linux 2 and other linux distributions.

Install From Source

git clone [email protected]:curieyoon/emergencyRoom-ChatBot.git
cd emergencyRoom-ChatBot
npm install --save
npm install -g yarn
yarn add dotenv

Add your private keys

Under the root repository emergencyRoom-ChatBot, create your .env file containing private keys for the APIs this project depends on. Your .env file should look like this:

CHANNEL_ACCESS_TOKEN="Your_Line_Messenger_Access_Token"
KAKAO_KEY="KakaoAK Your_Kakao_API_Private_Key"
MY_DOMAIN="Your_server_domain_which_this_service_runs_on"
EMERGENCY_KEY="Your_Hospital_API_Key"
DIR_ID = "Your_Naver_Map_API_ID"
DIR_KEY = "Your_Naver_Map_API_KEY"

To import .env file properly in each module, make sure the line require("dotenv").config( {path: "/path/to/.env"} ); contains the absolute path of your .env file on your server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •