Mehdi Saffar, Developer in Sousse, Sousse Governorate, Tunisia
Mehdi is available for hire
Hire Mehdi

Mehdi Saffar

Verified Expert  in Engineering

Software Developer

Sousse, Sousse Governorate, Tunisia

Toptal member since August 10, 2021

Bio

Mehdi is a senior full-stack developer with experience in diverse startups, from delivery and social media to navigation. Recently, he has developed a GPT-4 bot at Batelle, reducing the workload for Sleep Guides by 40%. At Pointz, Mehdi has integrated cyclist ratings into a routing engine for safer bike routes. Expert at optimizing performance and ensuring system reliability, Mehdi strongly advocates clean code, testing, and maintainability and brings strong technical skills to every project.

Portfolio

Batelle
Nuxt.js, Firebase, Terraform, Google BigQuery, FastAPI, Vue, Python...
Pointz
Amazon Web Services (AWS), Amazon EC2, Docker, Docker Compose, Routing, C++...
Suly Inc.
Node.js, GraphQL, PostgreSQL, SQL, Knex.js, Objection.js, Stripe...

Experience

  • Linux - 4 years
  • Node.js - 4 years
  • Python - 3 years
  • React - 3 years
  • SQL - 2 years
  • MongoDB - 2 years
  • Antd - 2 years
  • Jest - 1 year

Availability

Part-time

Preferred Environment

Visual Studio Code (VS Code), Node.js, React, Linux, Python, PostgreSQL

The most amazing...

...thing I've achieved is creating a GPT-4 powered bot for a growing sleep training app that slashed the workload for Sleep Specialists by 40% in just two weeks.

Work Experience

Senior Software Engineer

2022 - 2023
Batelle
  • Reduced our sleep guides' workload by 40% by setting up a custom GPT-4 bot that automatically responds to customers.
  • Simplified cloud management and orchestration by migrating core parts of our infrastructure to Terraform.
  • Expanded our data analytics capabilities by setting up ETL from Firestore to BigQuery to use more powerful and expressive queries.
  • Accelerated continuous integration (CI) fourfold by parallelizing unit and integration tests written in Jest.
  • Developed new Nuxt.js features for the support dashboard, aiding sleep guides in handling an increased customer base.
  • Investigated sleep guides' bug reports thoroughly, typically resolving issues within four hours.
  • Advocated for the implementation of structured logging in Datadog to enable early detection of bugs.
  • Standardized a unified set of Tailwind UI components, ensuring style consistency and accelerating new component development.
Technologies: Nuxt.js, Firebase, Terraform, Google BigQuery, FastAPI, Vue, Python, Elasticsearch, Node.js, Google Cloud Platform (GCP), Cloud Firestore, OpenAI, Cron, Webhooks, GitHub Actions, Continuous Delivery (CD), Full-stack, Next.js, Stripe, Payment Gateways, Redis, HubSpot, HubSpot CRM, Tailwind CSS, Artificial Intelligence (AI), BigQuery, Axios, Express.js, Chatbots, Asyncio, Python Asyncio, Architecture, Large Language Models (LLMs), Full-stack Development, Lambda Functions, Amazon Simple Queue Service (SQS), Dashboards, API Integration, Front-end

Senior Back-end Engineer

2022 - 2022
Pointz
  • Mentored a junior team on the required changes to ensure correctness and improve the security and scalability of their app.
  • Wrote a Python script to evaluate road safety from OpenStreetMap attributes and integrated cyclist feedback into the C++ Valhalla routing engine, delivering the core feature of bike-friendly route suggestions.
  • Enhanced the PostgreSQL database and used PostGIS geospatial extensions to better align with application requirements and industry standards.
  • Consolidated two separate databases into one using AWS Database Migration Service (DMS), streamlining data access and querying without any downtime.
Technologies: Amazon Web Services (AWS), Amazon EC2, Docker, Docker Compose, Routing, C++, Python, SQL, PostgreSQL, Amazon Elastic Container Registry (ECR), Amazon RDS, Document Management Systems (DMS), SSH, GitHub, Java, Node.js, CMake, OpenStreetMap, QGIS, Cron, Continuous Delivery (CD), Full-stack, Axios, Express.js, Google Maps, Architecture, API Integration

Senior Back-end Engineer

2021 - 2022
Suly Inc.
  • Accelerated integration tests by 22 times by replaying recorded requests and inbound webhooks.
  • Tripled unit test speed by parallelizing and isolating data at the process, database, and Redis levels.
  • Automated the deployment of Node.js, GraphQL, and PostgreSQL stack to Heroku using GitHub Actions.
  • Integrated APIs Stripe, Mux, and Sentry to handle payments, video upload, transcoding, and bug tracking.
  • Enforced code style, linting rules, and passing tests using Git hooks and GitHub Actions.
  • Built job queue using BullMQ to offload heavy CPU/IO-bound processing.
  • Implemented video posts feature with view count, like count, nested comments, and promoted content.
  • Auto-generated GraphQL queries from schemas in tests to reduce code duplication and tedious boilerplate.
  • Protected webhook processing from identity fraud and replay attacks and ensured the idempotency of duplicate and out-of-order events.
Technologies: Node.js, GraphQL, PostgreSQL, SQL, Knex.js, Objection.js, Stripe, Video Uploading, Video Transcoding, Heroku, Continuous Delivery (CD), CI/CD Pipelines, GitHub Actions, Webhooks, Jest, Testing, JavaScript, REST, REST APIs, Payment Gateways, Axios, Express.js, Python Asyncio, Architecture, Full-stack Development, Amazon Simple Queue Service (SQS), Payment APIs, API Integration

Data Science Intern

2020 - 2021
Getir
  • Developed a machine learning model based on LightGBM to provide a more accurate estimated time of arrival (ETA) of market orders.
  • Wrote complex SQL queries to fetch all necessary columns across multiple tables in the Amazon Redshift database.
  • Reduced the preprocessing duration from two hours down to 20 minutes by using proper data structures, vectorization, and parallelism.
  • Enhanced model accuracy threefold through detailed exploratory data analysis and iteratively refined feature engineering.
Technologies: Redshift, Python, Kepler.gl, Scikit-learn, LightGBM, Pandas, Data Science, SQL, Separation of Concerns (SoC), Machine Learning, Data Structures, Vectorization, ETL, Exploratory Data Analysis, Visual Studio Code (VS Code), Linux, Git, Bitbucket, Data Visualization, Artificial Intelligence (AI), Google Maps, Asyncio, Python Asyncio, API Integration

Full-stack Developer

2019 - 2020
Tavan
  • Designed complex data tables with filtering, sorting, and chart components capable of querying any date range with zoom and pan features.
  • Built an immersive map interface for visualizing thousands of routes with advanced filtering and lazy querying capabilities.
  • Integrated it with 3rd-party APIs to download and process user data.
  • Developed a geo-editor app that displays OpenStreetMap node data on a map with heatmaps, 3D hex grids, and scatterplots, utilizing the deck.gl library.
  • Created a custom, fine-grained access control system for administrative users.
Technologies: Node.js, React, Jest, MongoDB, Cypress, APIs, OpenStreetMap, 3D Visualization, Deck.gl, Heatmaps, Visual Studio Code (VS Code), Linux, HTML, CSS, Responsive Web Design (RWD), Git, Mapbox, HTML5, JavaScript, CI/CD Pipelines, REST, REST APIs, AWS Lambda, Cron, Routing, Webhooks, GitHub Actions, Continuous Delivery (CD), Full-stack, Axios, Express.js, Google Maps, Full-stack Development, Dashboards, API Integration, Front-end

Front-end Developer

2018 - 2019
Directik
  • Improved the admin dashboard to easily manage app content and added internationalization.
  • Made forms more user-friendly with strict validation and autocomplete features.
  • Built a messaging system between customers and shop owners, using WebSockets.
Technologies: Node.js, React, Antd, Visual Studio Code (VS Code), Linux, HTML, CSS, Responsive Web Design (RWD), Git, TypeScript, Redux, HTML5, JavaScript, REST, Cron, Axios, Google Maps, i18n, Internationalization, Dashboards, API Integration, Front-end

Java Teacher (Volunteer)

2018 - 2018
COMPEC, Boğaziçi University
  • Taught an 8-week introductory course for Java to an audience of around 60 students.
  • Introduced students to variables, conditions and loops, recursion, and object-oriented principles.
  • Mentored students in developing projects, including a console calculator, console games, Tower of Hanoi solver, and a Sokoban graphical tiled game.
Technologies: Java, Processing, Git, GitHub, Recursion Testing

Experience

SPH Fluid Simulator with WebGPU API

https://webgpu-sph.vercel.app/
This personal project is a fluid simulator application written in WebGPU. It utilizes the Smoothed Particle Hydrodynamics (SPH) technique for simulation. The front end is developed using SvelteKit, Flowbite, and TailwindCSS and is bundled with Vite. The simulation and rendering are entirely done in WebGPU, providing a fast and efficient fluid simulation experience.

Social Network Analysis of Researchers (SONAR)

https://github.com/adilnumancelik/sonar
An online app where users can upload a list of academic articles and visualize the social network of their authors. Users can visualize interesting relations between them with the help of a directed graph and social network analysis (SNA) metrics. The app uses a novel approach where all analysis is performed locally on the front-end using WebAssembly and Web Workers. This was part of a university term project.

Getflix

https://github.com/bounswe/bounswe2020group2
An eCommerce app that connects vendors and customers on a single platform. As part of a year-long software engineering course, I led the entire team of 13 people and the front-end sub-team of four people. We used the Ant Design library with React to create a slick-looking website with all the required functionality.

The website includes product listing and filtering, reviewing, checking out a shopping cart, tracking orders, and chatting with vendors. The project was first designed by collecting requirements via continuous communication with the client, making various diagrams that clarified what the system was about and how it worked, and mockups that showed how various use cases would look on the website.

The website was containerized using Docker and deployed on AWS EC2 instances. I set up the CI/CD pipeline using GitHub Actions, which saved a lot of time and human errors during the delicate deployment process. Finally, we collaborated to write a detailed report that explained the entire process behind building and publishing the project and the tools that helped us achieve this goal as a team.

Email Classifier Using Multinomial Naive Bayes and Mutual Information

An email classifier, built in Python, that tags emails as spam or not spam based on the Multinomial Naive Bayes (MNB) technique. The classifier is sent a dataset of labeled emails, and after training, it outputs a model that can be used to classify. It can be configured to consider all words used in emails or use the mutual information (MI) metric to choose only the top k=100 discriminating words. This has the benefit of reducing the size of the model and the overfitting on average.

I developed this project for an information retrieval course, and the report can be found on GitHub under report/report.pdf.

Education

2016 - 2021

Bachelor's Degree in Computer Engineering

Boğaziçi University - Istanbul, Turkey

Skills

Libraries/APIs

Node.js, React, Antd, REST APIs, Vue, Asyncio, Python Asyncio, Scikit-learn, Pandas, Google Maps, Kepler.gl, Web Worker, Objection.js, Stripe, WebGPU, WebGPU Shading Language (WGSL)

Tools

Git, GitHub, Bitbucket, BigQuery, Amazon Simple Queue Service (SQS), Knex.js, Docker Compose, Amazon Elastic Container Registry (ECR), CMake, Cron, Terraform

Languages

Python, JavaScript, HTML, CSS, TypeScript, HTML5, SQL, Java, Processing, GraphQL, C++

Frameworks

Tailwind CSS, Express.js, Jest, Django, Vanilla JS, Next.js, Deck.gl, Cypress, LightGBM, Bootstrap, Redux, Nuxt.js, Svelte, NestJS

Paradigms

REST, ETL, Responsive Web Design (RWD), Continuous Delivery (CD), Testing

Platforms

Visual Studio Code (VS Code), Vercel, Linux, Docker, Mapbox, Heroku, Firebase, Google Cloud Platform (GCP), AWS Lambda, HubSpot, Amazon Web Services (AWS), Amazon EC2

Storage

Cloud Firestore, MongoDB, PostgreSQL, Databases, Redshift, Elasticsearch, Redis

Other

Full-stack, Axios, Full-stack Development, Lambda Functions, Dashboards, Front-end, APIs, FastAPI, OpenAI, HubSpot CRM, Data Visualization, Artificial Intelligence (AI), Chatbots, Large Language Models (LLMs), Payment APIs, API Integration, Distributed Systems, Algorithms, Machine Learning, Statistics, Networks, Information Retrieval, Linear Algebra, Numerical Optimization, Embedded Systems, Simulations, Data Science, Pyodide, Separation of Concerns (SoC), Data Structures, Vectorization, Exploratory Data Analysis, OpenStreetMap, 3D Visualization, Heatmaps, Social Network Analytics, WebAssembly (Wasm), CI/CD Pipelines, Text Classification, Responsive Web Apps, Video Uploading, Video Transcoding, GitHub Actions, Webhooks, Routing, Amazon RDS, SSH, QGIS, Document Management Systems (DMS), Google BigQuery, GPU Computing, SvelteKit, Vite, Payment Gateways, eCommerce, i18n, Internationalization, Architecture, Recursion Testing

Collaboration That Works

How to Work with Toptal

Toptal matches you directly with global industry experts from our network in hours—not weeks or months.

1

Share your needs

Discuss your requirements and refine your scope in a call with a Toptal domain expert.
2

Choose your talent

Get a short list of expertly matched talent within 24 hours to review, interview, and choose from.
3

Start your risk-free talent trial

Work with your chosen talent on a trial basis for up to two weeks. Pay only if you decide to hire them.

Top talent is in high demand.

Start hiring