https://github.com/rasbeetech/issue-tracker
https://github.com/rasbeetech/issue-tracker
api api-restful automated-testing chai chai-http css expressjs html javascript mocha mongodb mongoosejs nodejs testing
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rasbeetech/issue-tracker
- Owner: RasbeeTech
- License: mit
- Created: 2021-06-17T00:09:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-18T01:54:05.000Z (almost 4 years ago)
- Last Synced: 2025-01-25T10:26:18.582Z (3 months ago)
- Topics: api, api-restful, automated-testing, chai, chai-http, css, expressjs, html, javascript, mocha, mongodb, mongoosejs, nodejs, testing
- Language: JavaScript
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Issue-Tracker
API service for tracking project issues.### Purpose:
Practice implementing unit and integrated Mocha Chai-HTTP testing.
### Usage examples:
Get all issues for project:
```
GET /api/issues/{project_name}
```
Create new issue:
```
POST /api/issues/{project_name}
```
Update issue:
```
PUT /api/issues/{project_name}
```
Delete Issue.
```
DELETE /api/issues/{project_name}
```
### Example return:
```
[
{
"_id": "5871dda29faedc3491ff93bb",
"issue_title": "Fix error in posting data",
"issue_text": "When we post data it has an error.",
"created_on": "2017-01-08T06:35:14.240Z",
"updated_on": "2017-01-08T06:35:14.240Z",
"created_by": "Joe",
"assigned_to": "Joe",
"open": true,
"status_text": "In QA"
},
...
]
```