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
- Host: GitHub
- URL: https://github.com/codehunt101/issues
- Owner: CodeHunt101
- Created: 2024-03-10T21:07:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T03:52:37.000Z (about 2 years ago)
- Last Synced: 2025-06-08T01:06:49.724Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!