denovo / team-time-zone-backend

Authentication server for Team Time Zone

Home Page:https://github.com/alisdair/team-time-zone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Team Time Zone backend

This is a simple Express.js app which provides the authentication API for Team Time Zone. The only endpoint is /api/tokens, which implements the second stage of the Slack OAuth2 Web Authentication Flow.

Installation

Clone the repository, then run npm install.

Deployment

You'll need to configure your Slack application keys to use this yourself. Store these on your server in a .env file, using the format given in .env.example. You can also use this file to change the port that Express listens on.

The Ember app expects the token endpoint at /api/tokens on the same domain it is served from, so you will probably need to set up a proxy to do that. How you do so depends on your web server.

To-do List

  • Add integration tests with Nock
  • More documentation on deployment
  • Better error handling

About

Authentication server for Team Time Zone

https://github.com/alisdair/team-time-zone

License:MIT License


Languages

Language:JavaScript 100.0%