nashdev slack jobs api
_Note: This initial version was written as part of a live stream at NashJS (7/12/17)... so the code is precarious at best. It is not an endorsement of best practices or code cleanliness. Definitely could use a refactor :stuck_outtongue:
Make sure you have NodeJS, npm, and PostgreSQL installed.
Clone the repository
git clone git@github.com:nashdev/jobs.git
Install your dependencies
cd path/to/nashdev-jobs
npm install
Copy .env.example
to .env
and fill out the values.
Set up the development database
npm run setup
Start the app
npm run start
Once you see Express server listening on port 3000
in the console, you can View the running app at http://localhost:3000
.env
file.
SLACK_CLIENT_ID=''
("Basic Information > Client ID")SLACK_CLIENT_SECRET=''
("Basic Information > Client Secret")http://localhost:3000/slack/auth
as a redirect URL.chat:write:user
bot
users.profile:read
SLACK_BOT_TOKEN=''
("OAuth & Permissions > Bot User OAuth Access Token")Simply run npm test
and all your tests in the test/
directory will be run.
If you would like to contribute, you can check out all open issues/feature requests or submit your own on our Issues page (look for "enhancement" and "help wanted" labels). If you find an issue you would like to work on, you can complete the following steps to submit a pull request:
master
branch0.0.1
Copyright (c) 2017
Licensed under the MIT license.