Our application support reading a CSV file that contains keywords separated by a comma. Then analyze the google search and return:
- Total links on the search page
- Total advertises on the search page
- Total results with the keyword
- HTML of the page (You also can preview it)
We use the following library with version:
- Ruby -
3.0.0 - Rails -
7.0.3 - psql (PostgreSQL) -
14.5
- Clone project:
git clone https://github.com/sanG-github/Search-Analytics.git - Install Gem:
bundle install - Using your credentials with the example:
.env.example- With
JWT_SECRET_KEY, generated bybin/rails secret
- With
- Setup database:
bin/rails db:create db:migrate - Precompile:
rake assets:precompile - Run server:
rails server - Run sidekiq:
bundle exec sidekiq
usersstore information of the userattachmentsstore the name and contents of the file after removing duplicate keywordresultsstore the necessary datas (like the numbers)source_codesstore source code of the Advertisement, Links, and HTML code of the Google search page. That needs to be separated because it contains large data.
About index, please take a look at the db/schema.rb
