https://github.com/alexwebgr/country_guesser
https://github.com/alexwebgr/country_guesser
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexwebgr/country_guesser
- Owner: alexwebgr
- Created: 2025-07-07T17:08:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-29T09:04:42.000Z (12 months ago)
- Last Synced: 2026-05-24T05:31:57.154Z (2 months ago)
- Language: Ruby
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Country Guesser
## Purpose
A small web-service which offers the following functionality: for a given last name
(surname), the service should respond with the country it's most likely to come from.
## Setup
### Encrypted credentials
Run `bundle exec rake credentials:edit` to edit or `bundle exec rake credentials:generate` to create new credentials for the ruby_llm gem.
### Installation
1. Ensure the ruby version mentioned in .ruby-version is installed
2. Run `bundle install` to install the dependencies
3. Run `puma` to start the server
4. Visit the URL
## Tests
1. Ensure the ruby version mentioned in .ruby-version is installed
2. Run `bundle install` to install the dependencies
3. Run `rake` or `rspec`