vigneshsn / node-fileupload-r Goto Github PK
View Code? Open in Web Editor NEWsimple file upload using node
License: MIT License
simple file upload using node
License: MIT License
# 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/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.