https://github.com/ruffrey/node-forte
https://github.com/ruffrey/node-forte
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ruffrey/node-forte
- Owner: ruffrey
- Created: 2015-03-04T23:43:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T04:35:32.000Z (about 11 years ago)
- Last Synced: 2025-04-04T16:41:48.845Z (about 1 year ago)
- Language: JavaScript
- Size: 211 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**This library is alpha status. You have been warned!**
---
# Forte community library for Node.js
See the
[Forte Web Service docs](https://www.forte.net/devdocs/api_resources/forte_api.htm)
for help.
Pull requests welcome. Please write tests.
Ensure the PR conforms to the JSCS and JSHint standards.
```bash
npm run jscs
npm run jshint
```
# Usage
```javascript
var Forte = require('forte');
var credentials = require('./test/credentials.example.json');
var forte = new Forte(credentials);
forte.setDevmode(); // to use the sandbox endpoint
```
See the tests in `./test/functional/` for common usage.
# Testing
```bash
npm run unit
npm run functional
npm test # everything
```
## Debugging
Run with `DEBUG=forte*` environment variable.
```bash
DEBUG=forte* npm test
```