This project allows you to import your contact list from a CSV file that contains dynamic header names.
Prepare your local environment:
git clone https://github.com/seccomiro/contact-importer.git
cd contacts-importer
cp .env.example .env
rails db:create db:migrate db:seed
Don't forget to configure your database connection at .env
.
Run the application:
bin/webpack-dev-server
bundle exec sidekiq
rails s
You'll need PostgreSQL and Redis already installed.
Access the application:
Open http://localhost:3000 in your browser.
-
Email: user@user.com
-
Password: 321321321
Example CSV files can be found at csv_examples
folder.
This application is deployed to: https://csv-contact-importer.herokuapp.com.
- Add more tests. Because of lack time to finish this feature, it was possible to tackle only the core credit card validation logic.
- Upload files to AWS S3 instead of temp files.
- Improve some validations
- Dates are not being validated yet.