Skip to content

Ruby on Rails sample project to demonstrate how to automatically fill in a company form thanks to Companydata.co

License

Notifications You must be signed in to change notification settings

sebastiencarceles/company_form_autocomplete

Repository files navigation

Demo gif

Company form autocomplete

This is a sample project to demonstrate how to automatically fill in a company form thanks to Companydata.co.

This is a Rails 5 application. You can test the live demo.

Feel free to fork, reuse, copy, redistribute... Anything useful for you.

Dependencies

This project uses Ruby 2.4.0.

Get a recent version of Bundler:

gem install bundler
gem update bundler

and run:

bundle install --without db

More about installing a development environment: http://guides.rubyonrails.org/development_dependencies_install.html

Getting started

Clone this project

git clone https://github.com/sebastiencarceles/company_form_autocomplete.git
cd company_form_autocomplete

Account

Create your account for free on Companydata.co. You will be given an API Key.

API Key

Create the file config/application.yml and copy-paste the email you used to register and your API Key into this file:

COMPANYDATA_ACCOUNT: my.email@domain.com
COMPANYDATA_API_KEY: MyAwesomeKey

Run the server and test

rails server

Open your browser at localhost:3000 and test with a french registration number or VAT number. For example: FR19809743263.

About

Ruby on Rails sample project to demonstrate how to automatically fill in a company form thanks to Companydata.co

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published