Giter VIP home page Giter VIP logo

myparsers's Introduction

-----------------------------------------------------------------------------------------
CSVParser
-----------------------------------------------------------------------------------------

This is a restful web service that takes a string of CSV data as input and returns the data reformatted as shown below without using regular expressions or a 3rd party CSV parser library. 

It is implemented as a Microservice compatible with container. It is written in SpringBoot and provide a REST endpoint htttp://localhost:8080/parse.

-----------------------------------------------------------------------------------------
System requirements.
-----------------------------------------------------------------------------------------

Java 8 or above
Maven 3 if running locally

-----------------------------------------------------------------------------------------
Install, uninstall, configuration, and operating instructions.
-----------------------------------------------------------------------------------------

mvn clean install
cd target
java -jar csvservice-0.0.1-SNAPSHOT.jar

Test it using a curl command as below. See next section for file. 
curl -i -X POST  -F file=@"c:\Users\wawa\My Documents\csv.txt" http://localhost:8080/parser/parse

-----------------------------------------------------------------------------------------
Files list
-----------------------------------------------------------------------------------------
File locally stored: c:\Users\wawa\My Documents\csv.txt:

"Patient Name","SSN","Age","Phone Number","Status"

"Prescott, Zeke","542-51-6641",21,"801-555-2134","Opratory=2,PCP=1"

"Goldstein, Bucky","635-45-1254",42,"435-555-1541","Opratory=1,PCP=1"

"Vox, Bono","414-45-1475",51,"801-555-2100","Opratory=3,PCP=2"

-----------------------------------------------------------------------------------------
Help/Swagger
-----------------------------------------------------------------------------------------

http://localhost:8080/parser/swagger-ui.html

-----------------------------------------------------------------------------------------
Credit, acknowledgments, contact information, and copyright.
-----------------------------------------------------------------------------------------

Versioning: 0.0.1

Authors: Arul J

License: Of site hosting it




myparsers's People

Contributors

arul123 avatar

Watchers

 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.