This is a simple Rails application that displays the location of a college on a Google Map using Stimulus and Turbo Streams.
- Fetch college location data from the College Scorecard API.
- Display the college's location on a Google Map using Stimulus.
- Dynamically update the map via Turbo Stream responses.
- Ruby on Rails
- Google Maps API Key
-
Clone the repository:
git clone https://github.com/trueinviso/college_search.git cd college_search
-
Install dependencies:
bundle install
-
Configure credentials:
- Add config/master.key file with credentials key.
-
Start the Rails server:
bin/dev
-
Access the application:
- Open your web browser and go to
http://localhost:3000
.
- Open your web browser and go to
-
View the college location:
- Enter name of college you want to view
- The map will display the location of the college based on the data retrieved from the College Scorecard API.