Coder Social home page Coder Social logo

filesparser's Introduction

Files Parser App

See This Application Live

This is a test challenge for an interview

It is a React app that parses text files and outputs a histogram of the word frequency in files

Note:
— App fetches data from nested folders
— App can parse *.txt files
— *.txt files also can be extracted from *.zip archives automatically
— *.txt files can be mixed with other files, app will ignore them
— *.zip files can be nested in each other

How to run

  1. Clone the project
git clone https://github.com/SergVolynkin/FilesParser.git 
cd FilesParser
  1. Install dependencies
npm install
  1. Run
npm start

How to use

  1. Select Directory (some browsers only provide possibility to select multiple files instead of the directory)
  2. View the report based on passed files
    • Hover on histogram's bar to see detailed information — tooltip will appear
    • Click arrows in right bottom corner to change pages of data
  3. Click "CREATE ANOTHER REPORT" to go back to the files uploading

Tests

To run all tests

npm test

Browser support

All modern browsers are supported (including IE11)

About tech stack

Implementing this application I used:

  • create-react-app to bootstrap application
  • material-ui for UI
  • core-js for legacy browsers support
  • jszip for working with *.zip files
  • recharts for histogram implementation

filesparser's People

Watchers

James Cloos avatar Nail Shakirov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.