This project is a realtime search box that shows analytics on whats people searched for the most.
This project is realtime search box built with Vanilla JS, ruby on rails and Turbo_Frames to manage the realtime page load features connected with Stimulus Js.
- Ruby on Rails
- Vanilla JS
- Turbo_frames
- Postgresql
- stimulus
To get a local copy up and running follow these simple steps:
git clone https://github.com/ONJoseph/realtime_search_box.git
cd realtime_search_boxBefore starting make sure that you have the following runing on your computer
Ruby 3.2.2Rails 7.1.2PostgresSQL
Install gems with:
bundle installCreate a file .env in the root of your project directory to store your database name and the password.
touch .env.env file content
DB_USERNAME=your_database_name
DB_PASSWORD=your_database_passwordSetup database
rails db:setup
rails db:migrate
rails db:seedStart server
rails serverOpen http://localhost:3000/ in your browser.
bundle exec rspec
👤 Joseph Ogbole
- GitHub: @ONJoseph
- Twitter: @ONJoseph1
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Shoutout to Helpjuice, Google and ChatGPT!
This project is MIT licensed.