Coder Social home page Coder Social logo

jira-rest-api's Introduction

Initialization

  • run npm install to install all dependencies
  • run npm run dev to run the server in development mode
  • run npm start to run the server

Implementation

Jira

This app uses the dependency jira-client https://www.npmjs.com/package/jira-client which uses jira-node API https://jira-node.github.io/class/src/jira.js~JiraApi.html to make requests to Atlassian Jira Rest API with JavaScript. In the src/connection folder, a simple class is used to establish connection to Jira's services. The request routes are developed at src/routes, which will instantiate a Jira connection and have access to its functions. To have access to your own Jira account, input your data into Jira's env variables.

Google Sheets

This app uses the dependency google-spreadsheet https://www.npmjs.com/package/google-spreadsheet to use Google Sheets Rest API with JavaScript. To have access to Google Sheets API, it is necessary to create a google developer account https://www.npmjs.com/package/google-spreadsheet and request access to Google Sheets API. After the process is finished, Google'll generate an authentication json file, which must be put into this project's root folder with the name client_secret.json, so it can be imported as credentials by src/connection.google and connect this app to Google API successfully. The GOOGLE_SHEET_ID env variable represents the sheet to be manipulated.

Routes

  • Default route: GET http://localhost:3333/

  • Get all issues by specified board id: GET http://localhost:3333/issues

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.