SearchEngine made with Ruby on Rails 7.1. Works for Google, Bing or Brave API.
MIT License
Welcome to ** Rails SearchEngine**, the coolest search engine on the block, built with Ruby on Rails and powered by the Bing, Google and Brave Search APIs! We want to plant trees with our ads revenue.🌳
Before you begin, make sure you have the following installed:
In the future also:
Clone the repository
git clone https://github.com/yourusername/search_engine.git
cd search_engine
Install dependencies
bundle install
Set up the database
rails db:create
rails db:migrate
Configure your environment variables
Rename .env.erb
to .env
and fill in the necessary details:
BING_API_KEY=your_bing_api_key_here
GOOGLE_API_KEY=your_google_api_key_here
GOOGLE_CX_KEY=your_google_search_engine_id_here
BRAVE_API_KEY=your_brave_api_key_here
Run the app
bin/dev
This command will spin up your Rails server and the frontend environment. Open your browser and navigate to http://localhost:3000
to see the magic happen!
app/controllers
app/models
app/views
app/assets/stylesheets
app/javascript
Feel free to fork this repository and send a pull request with your changes. We welcome all contributions!
This project is licensed under the MIT License. See the LICENSE file for more details.
Happy coding! ✨