Skip to content

sudeep-cedcoss/bot-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mangrove Bot Boilerplate

A boilerplate for Mangrove Bots in Node.js.

Usages

Installation

Clone the repo, then run:

$ npm install

Set environmental variables

Create a .env file with the following variables and their values:

SLACK_CLIENT_ID=***************
SLACK_CLIENT_SECRET=***************
AIRTABLE_API_KEY=***************
AIRTABLE_BASE_KEY=***************
AIRTABLE_MEMBERS=***************
NEW_RELIC_LICENSE_KEY=***************
NEW_RELIC_APP_NAME=***************
NEW_RELIC_APDEX=***************
NEW_RELIC_NO_CONFIG_FILE=***************
MONGO_URL=***************
NODE_ENV=DEVELOPMENT
PORT=3000

Run the bot

In local for development:

$ npm run start

Lint code:

$ npm run lint

Fix lint errors:

$ npm run fix

Building:

$ npm run build

Running in production mode after building:

$ npm run serve

Heroku dynos:

$ npm run web

About

A mangrove boilerplate to build bots with Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%