This is the backend for an application “Ticket System”. In this I have tried making the for this app in rails platform in ruby language. It fetches email from the GMAIL with a particular subject , in this it is “ app subject” and makes a card for that email. There are many users, and admin. Admin can assign that card to any of the user.
- Clone this application.
- Install all the gems.
- Construct the database.
- U can make any user by signing up but making a user admin, u need to go to the backend and then change its role from “user” to “admin”.
- As soon as the user will sign in, he can see all the cards unassigned.
- Users : It handle all the actions for user like creating a user, updating , destroy, admin_login etc.
- Card: It handle all the actions for card .
- Mails: It contains actions for retrieving mails from my gmail message box and makes card and marks them unassigned.
- Home controller and user_token controller helps in authenticating the user.
- Applying search bar for searching emails .
- Making a dashboard for admin which contains all the assigned mails as well as unassigned mails.
- Making a dropdown for selecting a user and showing its assigned cards to admin.