iamge showing homescreen of app described above

GPX File Manager Web-App with Custom C API

Oct 28, 2021

Summary

The GPX File Manager is a web application designed for managing .gpx files, commonly used in GPS devices. It features a custom memory-safe C API for parsing .gpx files and converting pertinent data into JSON format. The backend is built with Express.js, utilizing Node.js Foreign Function Interface (ffi-napi) for C function calls, and stores data in an SQLite database. The frontend is implemented with HTML, CSS, and Vanilla JavaScript for a user-friendly interface.

Github Repo.

.gpx files are essential in GPS navigation and tracking, containing data for mapping and outdoor activities. The GPX File Manager is a web application developed to manage these files effectively.

Core Components and Architecture

The GPX File Manager utilizes a C API for parsing .gpx files and converting them to JSON format, facilitating data use on the web. The backend is built for memory safety and performance, using the Node.js Foreign Function Interface (ffi-napi) to connect Express.js with C libraries. Data is stored in an SQLite database, offering efficient storage and retrieval. The frontend is developed with HTML, CSS, and JavaScript, ensuring a responsive and straightforward user interface.

Functionalities

The application supports uploading and downloading .gpx files, file management, and viewing. The GPX Creator Tab allows users to create new .gpx files. It also enables route addition and path finding between points, supporting planning and mapping tasks. The system's database capabilities ensure effective file data management.