Giter VIP home page Giter VIP logo

loggy_web's Introduction

Task

You must implement required features in a Ruby on Rails application. This application will be responsible for reading log data from a file, storing it into a database, passing data to an external application via shell commands and displaying results on a web interface.

Any changes made to the Ruby on Rails project must be done via Pull Requests. If there are any comments, they must be addressed before merging. You may merge once a ๐Ÿ‘ is received.

Component 1: Log Parsing

The application must parse a log file. This file is named log.txt in the root of this project.

Component 2: Database Storage

Each field from the log file should be parsed and stored in the database. Along with the log data, each row should at least have an id, and the time at which the entry was inserted into the database.

Component 3: Shell Out

If an entry has an executable extension (.pdf or .exe) the shasum of the file must be sent to an external script sha_lookup and the result stored in the database.

Component 4: User Interface

The web interface should display the log data from the database.

  • By default, it should be ordered by file name and date in a descending format.
  • The time should be displayed in a user-friendly format.
  • The user should have the ability to remove rows from being displayed.
  • The user should be able to search the file path.
  • The order should be customizable via a GET request.

loggy_web's People

Contributors

0x0909 avatar

Watchers

James Cloos avatar nayden avatar  avatar

Forkers

infinityb

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.