This is a realtime search engine that shows what people searched for the most.
In this project I created a realtime search with analysis of most searched items. I separated user data by getting visitors' user agent so that users data are not mixed up.In this regard, the user is anonymous. I proposed way to sign in and sign up to associate users to the database(Not implemeted yet). In the background , I implemented active jobs to create and manage analytics .For realtime scalabillty, I propose redis with active jobs. Since heroku has ended free tier , I deployed to render.
- Ruby on Rails
- Postgresql
- stimulus Js
To get a local copy up and running follow these simple example steps.
-
cd search-engine
To start please have the following running
- Ruby
- Rails
- PostgresSQL
Install gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
Start server with:
rails server
Open http://localhost:3000/
in your browser.
Install npm with:
npm i
Install rspec with:
bundle install
and
rails generate rspec:install
run the test with:
rspec spec
👤 Rich Adu
- GitHub: @assadounto
- Twitter: @adukyerer
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Credits go to Emil and rest of team at HelpJuice
This project is MIT licensed.