/employees-csv-express

Express application that reads an emplooyes CSV data and return a JSON of the specific emplooye.

Primary LanguageJavaScriptMIT LicenseMIT

employees-csv-express

Express application that reads an emplooyes CSV data and return a JSON of the specific emplooye.

Rockstars Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Employee CSV Express

This project is part of the Enroute | Rockstars G5 apprenticeship program 2020.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Known Issues
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

The project consist on a Node application that reads and outputs data from a CSV file that match certain criteria or scenarios.

Required features:

  • Read user input from CLI.
  • Identify the first argument as the ID of the employee.
  • Identify a second argument as a property of the employee.
  • Output the required information.

Additional features:

  • Can be converted into an executable script to run without prepending the file_name with command node.
  • Identifies more than one property.
  • Outputs all information if no parameters are given.

Built With

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

To run this script your local environment should have at least these installations.

Installation

  1. Clone the repository.
    git clone https://github.com/SaulPuentes/employees-csv-express.git
  2. Change to the newly cloned directory.
    cd employees-csv-express/
  3. Run the next command. See Usage to learn how to use it.
    node index.js

Roadmap

See the open issues for a list of proposed features (and known issues).

Known Issues

  • Queries only work with non-duplicate entries in the data. If there are duplicated values, the application will only retrieve the information from the last element found.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Saul Puentes

Project Link: Employee CSV Node

Acknowledgements