mirror of
https://github.com/cedev-1/RootMe-Badge.git
synced 2026-09-17 00:56:11 +00:00
No description
- HTML 78.1%
- JavaScript 21.9%
| .DS_Store | ||
| .gitattributes | ||
| background.png | ||
| component.png | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| root-me-api.js | ||
| Root.png | ||
Root-Me Badge Component
This project displays a customizable badge with user data from the Root-Me platform. It includes a backend to fetch data and a styled web component for the badge display.
Features
- Fetches user ranking, score, and completed challenges from Root-Me.
- Interactive and styled badge component.
- Backend with Express.js using Axios and Cheerio for web scraping.
Technologies
- Frontend: HTML, CSS, JavaScript (Axios for API requests).
- Backend: Node.js, Express.js, Cheerio.
Setup
-
Clone the repository:
git clone https://github.com/cedev-1/RootMe-Badge.git cd RootMe-Badge -
Install dependencies for the backend:
npm install -
Start the backend:
node root-me-api.js -
Possible
Usage
const response = await axios.get('http://localhost:3000/api/rootme/username'); // Change "username"
add this component to your website you can use without the scraper
