Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/serknight/xero-node-basic-app
Super barebones node.js setup
https://github.com/serknight/xero-node-basic-app
Last synced: about 2 months ago
JSON representation
Super barebones node.js setup
- Host: GitHub
- URL: https://github.com/serknight/xero-node-basic-app
- Owner: SerKnight
- Created: 2019-12-19T17:15:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T17:50:19.000Z (about 2 years ago)
- Last Synced: 2023-03-22T21:13:01.327Z (almost 2 years ago)
- Language: JavaScript
- Size: 2.65 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xero Node - Barebones Node/Express app
This shows a very barebones usage of the xero-node SDK.
You will need to replace the following from an app in your Xero developer portal: https://developer.xero.com/myapps/
```javascript
const client_id = 'your-client-id'
const client_secret = 'your-client-secret'
const redirectUri = 'your-callback-from-developer-portal-oauth2-app-settings'
```# Dependencies
* node
* express
* express-session
* xero-node# Features
* Oauth2.0 authorization
* single API Call to `getOrganisations`For a more feature rich version of the SDK usage please checkout https://github.com/XeroAPI/xero-node-oauth2-app
# Run Local
`node index.js`