Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

philliplongman/csv-reader-vue

Repository files navigation

CSV Reader

A full-stack technical challenge I took too seriously, with asynchronous Vue.js on the front end and Sinatra on the back.

(Also with an Elixir Phoenix back end)

Requirement summary:

  • Write a web app that will accept CSV files in three slightly different formats and display them as a sortable table.

Try it here with one of the test files below.

Test files (right click then select, "Save link as"):

Design decisions

Since the project was so simple and didn't call for any persistence, I felt like it was a great case for Sinatra. I thought it would be fun to submit the files asynchronously and return data via JSON for a single-page app, using Vue.js on the front end.

I used RSpec, Capybara, and Poltergeist for some basic testing. PhantomJS couldn't handle Vue, so I used Webpack and Babel to transpile down so the tests would pass.

Project info

To run:

bundle install
puma

To test:

rspec

About

Stateless CSV reader with Vue.js and Sinatra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published