Skip to content
Snippets Groups Projects

Basic plugin functionality

Merged Erick Hitter requested to merge develop into master
Files
3
+ 18
0
@@ -4,3 +4,21 @@ Slash command to record completed tasks as WordPress posts
## Prerequisites:
* A WordPress site running version 4.6+ and the JSON Basic Authentication plugin
* nginx or another proxy to front the app
## Install:
1. `npm install`
2. Copy `config-sample.json` to `config.json` and update to your needs
3. `npm start`
## Usage:
1. Make a POST request to `/log` with a POST body that contains the item to record
For example:
```
curl -X "POST" "http://localhost:9001/log" \
-d "I wrote a a thing!"
```
Loading