Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domain Rank Tracker (Test Task)

A web application built with CodeIgniter 2.2.0 that tracks the ranking of a specific domain for given keywords on Google.

Features

  • Google Search Scraping: Extracts ranking information from Google search results (top 100).
  • HMVC Architecture: Modular structure using the CodeIgniter HMVC extension for better organization.
  • Proxy Support: Includes logic to rotate proxies to avoid Google's automated search detection.
  • Database Logging: Automatically stores search results (domain, keyword, rank, addition date) in MySQL.
  • Responsive UI: Built with Bootstrap 3.2 and jQuery for a clean, modern user experience.

Technology Stack

  • Backend: PHP 5.x (compatible with CodeIgniter 2.2.0)
  • Framework: CodeIgniter 2.2.0 with HMVC
  • Frontend: Bootstrap 3.2, jQuery 1.11.1
  • Database: MySQL
  • Internal Libraries: Simple HTML DOM Parser

Installation

  1. Clone the repository:
    git clone [repository-url]
  2. Database Setup:
    • Create a MySQL database named testtask.
    • Import the SQL files from the application/sql/ directory:
      mysql -u [username] -p testtask < application/sql/results.sql
      mysql -u [username] -p testtask < application/sql/sessions.sql

Configuration:

  • Update your database credentials in application/config/database.php.
  • Configure the base_url in application/config/config.php if necessary.
  1. Environment:
    • Ensure your web server (e.g., Apache with mod_rewrite) is configured to point to the project root.
    • The project includes a .htaccess file for clean URLs.

Usage

  1. Open the application in your browser.
  2. Enter the Domain (e.g., example.com) and the Keyword you want to check.
  3. Click "Go!".
  4. The application will scrape Google search results and display the rank of your domain for that keyword.

About

Test assignment for PHP Developer position.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages