Code Monkey home page Code Monkey logo

izone-slack's Introduction

izone-slack

REST API for the "Izone" Slack App.

The purpose of this API is to act as a relay between Google Calendar, Slack, 10 000' plans and our internal time tracking and economy system.

Coding

Running locally

Setup node and install dependencies

Assuming you are already using nvm, install or use the node version specified in .nvmrc

nvm install # (or nvm use)

Install dependencies and install nodemon globally.

npm i
npm i -g nodemon

Run the REST API and the watch scripts locally.

Run server with nodemon.

nodemon

Run npm-watch that runs standard linter and test upon each file change.

npm start

Contributing

If you are going to contribute, make sure you create a feature branch with your changes. Keep changes clean and focused and make sure all tests are running and your code is Standard compliant before creating a PR.

# Create a feature branch.
git checkout -b feature/some_new_feature
# or, using git flow
git flow feature start some_new_feature

When creating a PR, make sure to merge from develop so that your branch is ready to be merged. Also, if the code changes are not self-explanatory, add some notes explaining what you have done and how to verify its functionality.

git pull origin develop
git push origin feature/some_new_feature

Database

View relevant fields in people_db

use izone;

SELECT	 p_id
		,p_firstname
		,p_lastname
		,p_izusername
		,p_slack_user_id
		,p_slack_user_name
		,p_google_calendar_address
		,p_google_calendar_id
		,p_google_token_access_token
		,p_google_token_expiry
		,p_google_token_refresh_token
FROM people_db

izone-slack's People

Contributors

graborg avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.