Castrol

Global leader in manufacturing high-performance lubricants, coolants, and greases.

About project

Castrol is a global leader in manufacturing high-performance lubricants, coolants, and greases. It has been in the industry for over 100 years, servicing customers and consumers across the automotive, marine, industrial, and energy sectors. Today, its branded products are recognized all over the world.

Committed to innovation, high quality, and cutting-edge technology, Castrol sought our help with developing an app that would let it authorize and monitor the workshops where its products are sold. The main requirement was to enable both offline and online modes.

Industry

Automotive manufacture, oil and gas

Engagement model

Time and material

Tech stack

Azure, Node.js, CosmosDB, JavaScript, React, Redux, Material UI, Koa, PWA, Dexie.js, OAuth2, AJV, Jest

Our engagement

Devico's full-stack developers initiated the development of a progressive web application for Castrol that would work in fully functional offline modes. First of all, they designed a proper architecture for maintaining all data in sync with local IndexedDB on the frontend. Also, they implemented the ability to log changes and new entries in order to update the system as soon as a user reconnects online. A solution for solving merge conflicts was developed as well so that data could be uploaded to a server even before reconnecting to the net. All in all, our team undertook significant efforts to ensure the accessibility of the entire application in the offline mode.

A need to implement a client-side validation according to the same rules that were applied for the validation on the backend introduced one more challenge. To address it, we offered to use JSON Schema with the same validation applied to both the client side and the backend.

The authentication required an out-of-the-box approach as well because we had to call their API, which was not designed to work in the needed way, especially in the offline mode. So, we decided to encrypt credentials on the fly using dynamically generated RSA keys. We stored those encrypted credentials in the user JWT token, the public key stored on the backend. With each token refresh, a new pair of keys was generated. This ensured that credentials couldn't be retrieved without both parts, providing robust security.

Client success

Castrol operates on a global scale, distributing its products to customers in more than 150 countries worldwide. The application we designed has played a significant role in establishing a robust and reliable approach to quality control and management within the company. By leveraging the capabilities of this application, Castrol has been able to implement stringent quality standards, ensuring that all partnering workshops adhere to the company's requirements.

The designed application serves as a centralized platform, allowing Castrol to monitor and assess various aspects of its extensive network of workshops. It has not only enhanced the overall efficiency of Castrol's operations but has also strengthened its relationships with partnering workshops.

+11
Lviv
+24
Kharkiv
+15
Kyiv
+48
Poland
+3
UK
+12
Germany
+21
Lithuania
+19
Latvia
+12
Slovakia
+2
Greece
+3
Portugal
+2
Netherlands
+15
Estonia
+21
Czech Republic
+2
Andorra

With a pan European talent pool, Devico brings together the continents best talent and makes them available for you

Request free quote

By submitting your information, you agree to the Devico Terms of Service and Privacy Policy. You can opt out at any time.