Web and mobile applications Node.js - Where to read the excel file?

Advertisement

I started with js node and was trying to create a web application and a mobile application too. My idea was to create a Node API, then create a web application (perhaps using Angular) and an Android application. One of the main features will be loading data from an Excel file using the web application, processing this data and then information on both the web application and the application mobile.

I do not know if this is the best way to go ... How do I send the excel file from the web application to the node API, then read the file and proceed? I have seen several node packets to read excel files, this is not the problem. I just do not know how to pass the excel from the API from my web application.

Thank you.

The answer

You should send multiparties / form data via POST. Then you can access your data in the application node.js. There is a lot of information on how to send multiparties / forms data to the Web.

Related articles

Access to web and mobile application photos

2016-07-19

I created an asp.net e-commerce web application and all my images are currently stored locally with their details (name, format, location, size) stored in the MS SQL Server database. I need to create an Android mobile app and strive to find a way to

Return the Excel file in the Flask application

2016-07-17

I create a Flask application that invites the user to an Excel file, works there, and then returns the file to the user so that he can download it. (Please ignore unused imports, I plan to use them later.) I have the functionality of my feature I'm n