|
| 1 | +# Displaying Github Activity Data in Donut Platform |
| 2 | + |
| 3 | +* Bot Functionalities: |
| 4 | + * Issues\[open/close/comment/assign/unassign/assignedUsers\] |
| 5 | + * pr\[open/close/comment/review\] |
| 6 | + * Share Issue on Donut as a post |
| 7 | +* While enabling the bot |
| 8 | + * Send a request to admin |
| 9 | + * Then select repos to enable the bot |
| 10 | + |
| 11 | +TODO: build a simple bot to check the complexity. |
| 12 | + |
| 13 | + |
| 14 | +### Summary |
| 15 | + |
| 16 | +Build a GitHub bot which users can install from GitHub marketplace\[1\] and configure the bot on selected repositories / all repositories based on users choice. After successful installation, the bot should send details of activities happening in the repositories on which bot is configured. Here repository activities refer to actions done by any user. |
| 17 | + |
| 18 | +### **Detailed Info:** |
| 19 | + |
| 20 | +**TASK 1:** The main purpose of this bot is to show github activity inside Donut platform. This feature will help users stay updated with all types of activities happening in the repository on which the bot has been configured. ****Donut platform will have a dedicated page to show github activities which users can access after logging in where they will able to see every activity that happens on github repos. |
| 21 | + |
| 22 | +**Github activities to be sent to Donut platform:** |
| 23 | + |
| 24 | +* Actions performed on issues: |
| 25 | + * Issue created |
| 26 | + * Issue closed |
| 27 | + * Comment on an issue |
| 28 | +* Actions performed on pull requests: |
| 29 | + * Pull request opened |
| 30 | + * Pull request closed |
| 31 | + * Comment on a pull request |
| 32 | + |
| 33 | +**TASK 2:** Build a dedicated page for github activity as shown in the design. Activity data received should be stored in database and then displayed on the page. |
| 34 | + |
| 35 | +**TASK 3:** Build sharing functionality, such that every activity which is displayed on the activity page, user should be able to share any activity as a post. |
| 36 | + |
| 37 | +### **Expected Outcome:** |
| 38 | + |
| 39 | +* The user should be able to install this bot on repositories they wish to. |
| 40 | +* The bot should send activity data\(mentioned in Detailed info section\) to donut platform. |
| 41 | +* Display the received data in proper format as show in the design. |
| 42 | +* User should be able to share any activity as a post. |
| 43 | + |
| 44 | +The bot will be sending activity data to donut platform where the activities will be displayed |
| 45 | + |
| 46 | +**References:** |
| 47 | + |
| 48 | +\[1\]: [https://github.com/marketplace](https://github.com/marketplace) \[2\]:You can make use of [probot](https://probot.github.io/). |
| 49 | + |
| 50 | +### Tech Stack: |
| 51 | + |
| 52 | +* Nodejs |
| 53 | +* Reactjs |
| 54 | +* MongoDB |
| 55 | + |
| 56 | +### **Required Skills/knowledge:** |
| 57 | + |
| 58 | +* Good knowledge of databases |
| 59 | +* Good knowledge of Back-end |
| 60 | +* Languages such as NodeJs, JavaScript, React |
| 61 | + |
| 62 | +### **Difficulty Level:** Moderate |
| 63 | + |
| 64 | +### **Potential Mentors:** |
| 65 | + |
| 66 | +* [**Jaskirat Singh**](https://github.com/jaskirat2000) |
| 67 | +* [**Devesh Verma**](https://github.com/devesh-verma) |
| 68 | + |
0 commit comments