Giter VIP home page Giter VIP logo

documentconverter's Introduction

Document Converter

Welcome!

This program serves as a web API document converter.

For usage please run the web API project and use the swagger UI that should start on your localhost.

Supported Functionality

  • GET /document - Loads a document from file system or URL with following parameters:
    • Location (fileName in case of file system or url in case of file on web)
    • LocationType
      • -f (file system)
      • -u (url)
    • Format (Format in which the file will be returned, with dot included)
      • .xml
      • .json
  • POST /document - Saves document in specified format, only file system is supported, email is sketched in code
    • Location (fileName in case of file system or url in case of file on web)
    • LocationType
      • -f (file system)
    • SourceFormat (Format in which the file is right now, with dot included)
      • .xml
      • .json
    • TargetFormat (Format in which the file will be saved, with dot included)
      • .xml
      • .json

Improvements that could be implemented

  • Logging of errors and generally improve error handling
  • Determine file type on input automatically
  • Do not force format of XML and JSON to contain Title and Text properties
  • Document Storage in a separate directory and not in API project
  • Asynchronous operation so the server is more responsive
  • More tests, integration tests that test bigger part of functionality
  • AutoMapper to map models between layers
  • Work with streams to not load whole files into memory??

documentconverter's People

Contributors

vargaid avatar

Watchers

Adam Jež avatar  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.