8000 GitHub - robocopkaka/customer_ticketing_system
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

robocopkaka/customer_ticketing_system

Repository files navigation

README

Description

This is an API for a simple customer support system. Customers can make requests that support agents can then attend to. Both customers and support agents can leave comments on a request until it is closed.

Admins assign requests to support agents as they come in and there's a functionality to support exports of support requests.

Prerequisites

  • Rails - 6.0.2.1
  • Ruby - 2.5.3
  • Mysql - 8.0.19
  • Install mailcatcher with gem install mailcatcher

Installation Steps

  • After copying this project onto your system, cd into this folder
  • Run rails credentials:edit
  • Add a key - db_user and a value representing your database username
  • Add a key - db_password and a value representing your database password
  • Save your new credentials
  • Run rails db:create to create the database
  • Run rails db:migrate to create all the necessary tables.
  • Alternatively, you can run rails schema:load
  • Run rails db:seed to seed the database with initial values
  • Start the app by running rails s -p 3001

Tests

  • Run rspec to run all the tests
  • Run open coverage/index.html to show the coverage report

Mails

  • To view mails, run mailcatcher in a terminal
  • Then go to http://localhost:1080 to view mails

Assumptions

  • Stored all the users in one table and made use of Single Table Inheritance
  • Made use of a worker to export CSVs so that it can be performed asynchronously
  • Mails are sent out to a support agent when a request is assigned to them
  • Mails are sent out to admins when a customer creates a request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0