Asynchronous programming is used to enhance the usability and responsiveness of an application along with improving its performance. This area of programming has been around for decades but has been acknowledged significantly in more recent years. While it continues to grow and develop rapidly within many different languages, JavaScript is a programming language that has many different methods to implement asynchronous behaviour into an application and continues to advance these methods. Asynchronous programming is also important in the development of mobile applications in order to maintain application flow and usability. This area was researched and the JavaScript methods were used to develop the application within this project.
The objective of this project was to create a mobile application with a login system and a bus route display using GPS features and public transport data from the Real-time Passenger Information public API. These features were integrated to calculate a bus trips statistics to encourage a user to reduce their carbon footprint. This was achieved based on the knowledge obtained from carrying out research on asynchronous programming within JavaScript and further research on a JavaScript stack known as the MERN stack. The final outcome was delivered to a user as an android mobile application developed in React Native that communicates and interacts within the stack.