This is a code challenge
- Needs install
docker
anddocker-compose
in your machine
- Clone repo in your local
- run command
docker-compose up
docker-compose run --rm app bash
bundle exec rspec spec
- There is a csv file called
data
could be used as test for importing
- Could add gem
kaminari
to enable pagination - Could add gem
sidekiq
and databaseredis
to enable import job to run at backend job - Could use any Frontend framework like Vue/React to make listing goods as a component
- Could seperate import process into two steps. First step is validator and gave the validate report. Second step is dose import
- Could use
Ajax
to enable filter instead of reloading page