Skip to content

erimicel/country_app

Repository files navigation

About The Project

Creating a Country Dropdown with Flags in Ruby on Rails 7, slim-select.js, countries gems

Blog post: https://erimicel.com/creating-a-country-dropdown-with-flags-in-ruby-on-rails-7-67df1806e433

Example dropdown: Screenshot 2023-06-07 at 01 42 47

Table of Contents
  1. Built With
  2. Getting Started
  3. Usage

Built With

Getting Started

Running this app

Clone the repo:

git clone https://github.com/erimicel/country_app.git
cd country_app

Install bundles:

bundle install

Create and migrate database:

rails db:create
rails db:migrate

Start the rails server and js/css builds

./bin/dev

Check it out in a browser:
Visit http://localhost:3000 in your favorite browser.

About

Flag/Country Dropdown with Rails 7 esbuild, slim-select.js and countries gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published