Redmart Ticket Tracker is a as the name suggests a ticket tracking application. Unlike a fullblown application like JIRA or Redmine, this is just a POC on ticket tracking and MEAN stack.
This application provides basic functionality like creating new ticket or users and modifying existing ones. It also provides provision to add comments on tickets. Items can be filtered on the basis of the users or their statuses. Items can also be deleted. Everything is provided as REST service by node and express which is consumed by Angular.
Users currently can be of 2 types - Customer and Customer Service Repos.
(This is just a POC hence I keep it improving it while I learn new things.)
Verb | Path | Description |
---|---|---|
GET |
/api/users/ |
Returns all users |
POST |
/api/users/ |
Creates a new user |
--- | User by type | |
GET |
/api/users/customer |
Returns all users of type 'Customer' |
GET |
/api/users/csr |
Returns all users of type 'CSR' |
--- | Operations by Id | --- |
DELETE |
/api/users/{id} |
Delete user by Id |
GET |
/api/users/{id} |
Get details of user by Id |
--- | Metadata | --- |
GET |
/api/users/option/type |
Get type of users |
Verb | Path | Description |
---|---|---|
GET |
/api/tickets/ |
Returns all tickets |
POST |
/api/tickets/ |
Create a new ticket |
--- | ** By Id** | --- |
GET |
/api/ticket/{id} |
Get a ticket by Id |
PUT |
/api/ticket/{id} |
Update a ticket by Id |
DELETE |
/api/ticket/{id} |
Delete a ticket by Id |
--- | --- | --- |
POST |
/api/ticket/{id}/comment |
Add a comment to the ticket with Id |
--- | Metadata | --- |
GET |
/api/users/option/area |
Get type of users |
GET |
/api/users/option/status |
Get type of users |
DONE
Comments should get updated immediately when addedDONE
User should get updated immediately when addedTODO
Perform validation on parameters passed to *route.js filesDONE
Delete a ticketTODO
Delete and Update a user, also view details of userTODO
Validation on ticket creationDONE
Separate ticket controllers in files.DONE
A comment is being added two times
-
DONE
Figure out a way to save routes in variables such that they can be used a different places wihout the doubt of typos. -
DONE
Do something about common variables like the enum values which are getting fetched everytime.
Suresh Sarda: (sureshssarda[at]gmail[dot]com)