Skip to main content

Command Palette

Search for a command to run...

Metafora: Revolutionizing Transportation Aggregation

Published
2 min read

In the fast-paced world of today, having access to reliable and diverse transportation options is crucial. This is where Metafora, our innovative aggregator transport company, steps in. Metafora allows users to effortlessly search for available journeys to their desired destinations, aggregating results from various transport companies that have been onboarded onto our platform. This project is a testament to the power of collaboration, technology, and the drive to solve real-world problems.

Our Team

Metafora is the result of the hard work and dedication of our three-person team. Each of us brought unique skills and perspectives to the table, enabling us to create a comprehensive and efficient solution for transportation aggregation.

My Contribution: Backend Development

As a backend developer for Metafora, I was tasked with building a robust and scalable API service using Flask. The backend architecture was designed to support the dynamic needs of our platform, ensuring that data from different transport companies could be efficiently managed and presented to our users.

Key Technologies and Techniques:
  • Flask: Our choice for building the API service, due to its simplicity and flexibility.

  • Blueprints: Employed to modularize the application, making it easier to manage and scale.

  • SQLite: Initially used for database management, which later transitioned to more sophisticated handling with Flask-Migrate.

Overcoming Challenges: Database Migrations

One of the major challenges I encountered was maintaining changes in the database models. In the early stages, I found myself repeatedly deleting my SQLite databases every time there was a change, which was not sustainable. This led me to delve into the migration process using Flask-Migrate, a tool that became essential for managing database changes seamlessly.

Through this learning curve, I gained valuable insights into database migrations, enhancing my skills and ensuring that our backend remained stable and efficient throughout development.

Deployment: Bringing Metafora to Life

  • Backend Hosting: We chose PythonAnywhere for its reliability and ease of deployment. This platform allowed us to deploy our Flask API service with minimal hassle, ensuring that our backend was always available to serve requests.

  • Frontend Hosting: The frontend, developed entirely with ReactJS, is hosted on Vercel. This choice was made to leverage Vercel's powerful features for deploying and managing modern web applications.

You can explore Metafora and see our work in action at metafora-eta.vercel.app.

Conclusion

Metafora represents a significant milestone in our journey as developers. This project not only showcases our technical abilities but also our dedication to solving practical problems through technology. Working on the backend of Metafora has been a challenging yet rewarding experience, and I am proud of the impact our platform is set to make in the transportation sector.