REST API to manage PRODUCTS and ORDERS, using public VAT API to get country tax rates.
Each product have name, category, price
The API support getting all products, adding a product, editing a product, deleting a product
Each order should have a date, products list (product ids) and status (Pending, Processing, Delivered, Cancelled)
The API should support getting all orders, adding an order (date should be automatically populated), change order status
A request is send with username and password
Retrieving all PRODUCTS is allowed for anonymous users Relevant status code is send if token is not provided or is invalid/expiredс
Node.js, MongoDB(mLab), Express.js,JWT based authentication