Skip to content

SkillRack Points Tracker and Calculator is a full-stack application that enables users to input a SkillRack profile URL to fetch and display points data. Built with React for the frontend and Express for the backend, this tool helps users track and calculate their SkillRack points effortlessly.

License

Notifications You must be signed in to change notification settings

Guru-25/skillrack-points-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkillRack Points Tracker and Calculator

Track and calculate your SkillRack points effortlessly using this powerful tool built with React, Express, Node.js, Axios, Cheerio, MongoDB, Mongoose, and deployed on Vercel. This project is designed to scrape user data from SkillRack, calculate points, and display them with a progress bar.

Tools and Technologies

  • React: Frontend user interface.
  • Express: Backend API.
  • Node.js: Server-side runtime environment.
  • Axios: HTTP client for making requests.
  • Cheerio: HTML scraping and parsing.
  • MongoDB: Database for storing user data.
  • Mongoose: ODM library for MongoDB.
  • Vercel: Deployment platform.
  • react-circular-progressbar: Progress bar component for React.
  • js-cookie: Handling cookies in the browser.
  • dotenv: Managing environment variables.
  • nodemailer: Sending email notifications.

Features

  • Scrapes user data from SkillRack.
  • Calculates points based on the user's activities.
  • Displays points with a circular progress bar.
  • Stores user data in MongoDB.
  • Handles cookies for session management.
  • Sends email notifications to admin for new user insertions.
  • Schedule Planning

Getting Started

Prerequisites

  • Node.js
  • npm
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/skillrack-points-tracker.git
    cd skillrack-points-tracker
  2. Install dependencies for the client and server:

    cd client
    npm install
    cd ../server
    npm install
  3. Set up your environment variables in a .env file in the server directory:

    # MongoDB connection string
    MONGODB_URI=your_mongodb_uri
    
    # SMTP Email configuration
    SMTP_HOST=your_smtp_host
    SMTP_PORT=your_smtp_port
    SMTP_SECURE=true_or_false
    FROM_ADDRESS=your_email_address
    TO_ADDRESS=recipient_email_address
    SMTP_USER=smtp_username
    SMTP_PASS=smtp_password
    
    # LOG
    LOG_BOT_TOKEN=bot_token
    LOG_CHAT_ID=chat_id

Running the Application

  1. Start the client:

    cd client
    npm start
  2. Start the server:

    cd server
    node index.js
  3. The application should now be running on http://localhost:3000.

Deployment

Deploy the application to Vercel:

  1. Install Vercel CLI:

    npm install -g vercel
  2. Run Vercel deployment:

    vercel
  3. Follow the prompts to complete the deployment.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for review.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

SkillRack Points Tracker and Calculator is a full-stack application that enables users to input a SkillRack profile URL to fetch and display points data. Built with React for the frontend and Express for the backend, this tool helps users track and calculate their SkillRack points effortlessly.

Topics

Resources

License

Stars

Watchers

Forks