Code Monkey home page Code Monkey logo

inclusivity-slack-inviter's Introduction

Node.js Inclusivity Slack Inviter

Automated Slack invitations for the Node.js Inclusivity WG.

Configuration

Configuration settings are set via environment variables. For convenience during development, environment variables may be stored in .env.

  • GITHUB_CLIENT_ID: The client ID for the GitHub OAuth application.
  • GITHUB_SECRET: The secret for the GitHub OAuth application.
  • GITHUB_MINIMUM_AGE: The minimum age, in days, that an account must exist on GitHub prior to joining the Slack team. Defaults to 30.
  • SLACK_TEAM: The name of the Slack team to invite users to.
  • SLACK_TOKEN: The token for accessing Slack's API.
  • COOKIE_KEYS: A secret for signing cookies.
  • PORT: The port to listen on for incoming requests. Default to 3000.
  • DB_HOST: The hostname of the database server to connect to.
  • DB_PORT: The port to connect to.
  • DB_USER: The MySQL user to authenticate as.
  • DB_PASSWORD: The password for the MySQL user.
  • DB_NAME: The name of the database.

Setup

Prior to running the server, you must initialize the database. To do so, run the following command:

npm run setup

License

Copyright Node.js Inclusivity Contributors

SPDX-License-Identifier: MIT

inclusivity-slack-inviter's People

Contributors

scottgonzalez avatar nebrius avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.