Git Product home page Git Product logo

node-fileupload-r's Introduction

# Rabo bank assignment - Angularjs + Nodejs

ASSIGNMENT GIVEN
=======================================================================================================================
Rabobank receives monthly deliveries of customer statement records. This information is delivered in two formats, CSV and XML. These records need to be validated.

There are two validations:

    all transaction references should be unique

    the end balance needs to be validated

At the end of the processing, a report needs to be created which will display both the transaction reference and description of each of the failed records.

IMPLEMENTATION OVERVIEW
=======================================================================================================================
This application uses Angular js(version 1.5.0) as an Frontend and Nodejs(version 4.4.7) as backend.

Front End - bower to manage frontend dependencies
1. Implement angular view , controller, service , factory and constant
2. Use 'ngFileUpload' angular plugin and upload files to nodejs
7. Display error or success message based on response from server

Backend - npm to manage backend dependencies
3. Use formidable to parse the form data into files.
4. Check for file extension for support
5. Use csvtojson and xml2js to process csv and xml file respectively
6. Apply validation and return errors


UNIT TESTING
=======================================================================================================================
Jasmine framework is used for unit testing controller.
Karma is used as test runner , type 'npm test' to start the karma and run test cases.

DEPLOYMENT AND TESTING
=======================================================================================================================
Prerequisite
Nodejs must be installed in your machine. (version 4.4.7 or greater)

How to start the application?
Open command promt, navigate to project root directory and type 'npm start'

This command will invoke npm install followed by bower install, once all dependencies are resolved the node application will
get started.

Once the node server started, Access the application in browser http://localhost:3000/

node-fileupload-r's People

Contributors

vigneshsn avatar

Watchers

James Cloos 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.