An open API service indexing awesome lists of open source software.

https://github.com/alexwebgr/country_guesser


https://github.com/alexwebgr/country_guesser

Last synced: about 1 month ago
JSON representation

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`