I need to showcase products from an ERP system on a website. The ERP system can generate either an XML or JSON file containing all the product information. The website must have features like pagination, sorting, and filtering by attributes. Currently, my plan is to simply load the entire file in AngularJS and process each item individually, as the number of products is around 500 and the client updates the data daily, eliminating the need for a database synchronization process.
However, I have concerns about performance. Sorting, filtering, and pagination would be much faster with a database like MongoDB, given its simple data structure.
Would I encounter significant performance issues by handling everything in AngularJS? Is this approach feasible, or should I consider adding a database layer between the ERP system and the frontend for better performance?