An open API service indexing awesome lists of open source software.

https://github.com/codehunt101/issues

This is a CLI application that handles a simple REST API server and a CLI client for Issues
https://github.com/codehunt101/issues

Last synced: about 2 months ago
JSON representation

This is a CLI application that handles a simple REST API server and a CLI client for Issues

Awesome Lists containing this project

README

          

# issues

Make sure to execute `npm install` to install all the dependencies.

Run `npm start` from the root directory to run the server. By default it utilises port 3000.

To execute commands, in the CLI you must run from the root directory:

```
node dist/client/run
```

## Commands:

### List all issues:

```
node dist/client/run list-issues
```

### Read an issue:
```
node dist/client/run get-issue
```
Example:
```
node dist/client/run get-issue 1
```

### Add an issue:
```
node dist/client/run add-issue
```
Example:
```
node dist/client/run add-issue "new title" "new description"
```

### Update an issue:
```
node dist/client/run update-issue
```
Example:
```
node dist/client/run update-issue 1 "updated title" "updated description"
```

### Delete an issue:
```
node dist/client/run delete-issue
```
Example:
```
node dist/client/run delete-issue 1
```

Thank you!