GithubHelp home page GithubHelp logo

ticket-system's Introduction

Ticket System

How to run project

  1. Open project directory and run following command: docker compose up --build
  2. Open postman and import collection located in the project directory testing.postman_collection.json
  3. Use the saved endpoints to test functionality

When docker is initiated the Users table is seeded with 4 users.

1. Creating New Tickets

Creating more than 4 tickets using Create new Ticket endpoint without resolving any of them, all new tickets will be unassigned.

2. Assigning tickets

Assigning tickets using Asssign Ticket endpoint will fetch the list of available agents and depending on the number of available agents it will fetch the list of unresolved tickets. Then it will loop through the list of agents, update their availability and assign them a ticket.

3. Resolving tickets

Resolving ticket using Resolve Ticket endpoint will automatically assign unassigned and unresolved ticket to the agent that was assigned the ticket that's being resolved. If there are no unresolved tickets, the agent will be marked as available, else, he will be assigned with a new ticket.

ticket-system's People

Contributors

markobogdanovski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.