Steps to setup the backend environment:
- Download the ticket data here
- Place it in data/awesome_tickets.json
- Run
make setup
- Run
make run
- Try it by calling http://localhost:5001/tickets
- Run
make setup
- Run
make run
- Open it: http://localhost:3002
In this challange I created a fullstack application, which gives discord server moderators to handle tickets.
- filtering for:
- status of the ticket
- usernames
- date of message
- the possibility to search in the messages
- sorting based on:
- date
- username
- status
- closing tickets
- reopening tickets
- deleting tickets permanently
- revealing the context messages for given tickets
- opening the messages directly in discord
- on the first server startup, the data will be read from an unstructured data
- then the data will be structured to classes, leaving all the necessary data in the structure
- this structured data will be then saved as a new file
- on any other server startup, this new - now structured - file will be read, thus saving a little computing power
- there is also an option for saving the authors, messages and the tickets to a csv file