Skip to content

denovo/team-time-zone-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%