This bot is used to analyze the GitHub profile of a user. The user can login through GitHub on our platform. Later can analyze his/her own repositories/projects. The bot comes up with a well structured analysis providing various metrics such as code quality, project description and many more. Users can also create teams and get profiles for teams.
- Ensure that you have
Node.js
andnpm
installed on your machine. - Ensure that you have
Python 3.8
andpip
installed on your machine. - Make sure you have
FastAPI
andUvicorn
installed
-
Clone the repository
git clone https://github.com/Vss4969/sthira.git
-
Run backend service
cd backend
Follow the README.md
-
Run frontend service
cd frontend npm install
Follow the README.md
The Tech-Stack used in this application is:
- ReactJS for the frontend
- FastAPI for the backend
- MongoDB for the database
The application can be accesses through this Link. Backend API Documentation can be found Here.
The code for this application is present in the sthira
folder. It is divided into frontend
and backend
folders. The frontend code is in ReactJS
while the backend
code is in FastAPI
. The directory structure is shown below:
sthira
|
|- frontend
| |- public -> Index, Media and Assets
| |- src
| |- pages -> User and Team pages
| |- components -> React components
| |- service -> API points
| |- index.js -> Main page render
| |- App.js -> Routes
|
|- backend
| |- config -> Constants and Connections
| |- metrics -> Metrics Calculators
| |- routers -> API Endpoints
| |- services -> GitHub/DB/OpenAI Integrations
| |- main.py -> Main entry point
| |- Dockerfile -> Docker Image File
|
|- README.md -> Documentation (๐You are here)