RS

INITIALIZING CORE LAYER...

RAYEN.DEV

Mohamed Rayen Segni is a professional Software Engineer based in Tunisia, specializing in Backend Engineering, secure FastAPI microservices, and AI/RAG integrations.

AVAILABLE FOR CONTRACTS & DEPLOYMENTS

Building Secure Systems,
Scalable APIs
and Intelligent AI Solutions.

Software Engineer specializing in production-ready Backend Engineering, AI Integration, DevOps pipelines, and secure database architectures. Delivering high-throughput, low-latency, and business-focused systems.

Mohamed Rayen Segni portrait

Location

Tunisia (GMT+1)

Focus

FastAPI & AI/RAG

Trusted Collaborations & Professional Experience

MG ACADEMY

FULL STACK INTERNSHIP

ELECNOVA

FREELANCE CLIENT

GITHUB

OPEN SOURCE CORES

NETLIFY/RENDER

PROD DEPLOYMENTS

0

Years Production Experience

0

Major System Architectures

0

Asynchronous Coverage

0

Security Modules Built

Featured Project Repositories

Every project represents a production-grade infrastructure, with high-performance code and secure integrations.

DSA Simulator Live

Misinformation Detector

A graph-based simulation tool implementing core Data Structures & Algorithms (DSA) in a C and Python backend with web vector maps.

C Algorithms Python API Web UI
CMS Platform Live

MG Academy

Full Stack platform managing students, courses, enrollments, certificates, and dashboard admin interface panel.

FastAPI PostgreSQL Bootstrap/CSS
Showcase Portal Live

Elecnova Website

Corporate showcase website designed to maximize trust, credibility, and user conversion through a premium layout.

HTML5 Tailwind CSS Vanilla JS
FastAPI Backend Security-First

Appointment Service API

A secure healthcare appointment management backend featuring authentication, role-based authorization, scheduling logic, and scalability.

FastAPI OAuth2 JWT PostgreSQL
API Framework Modular Architecture

Library Management API

A production-style FastAPI backend for managing books, users, and borrowing operations with secure authentication and database layers.

FastAPI Uvicorn Alembic SQLite
Relational API Database Tuning

Social Media API

REST API supporting authentication, posts, likes, comments, and user relationships following backend engineering patterns.

Python FastAPI SQLAlchemy PostgreSQL

Ready to create your success story?

Let's collaborate to build solutions that combine technical excellence with business growth.

Technical Architecture & Stack

Providing expertise in robust backend frameworks, AI vector indexes, scalable hosting environments, and clean API design.

Backend Engineering

  • FastAPI & Python Development
  • OAuth2, JWT & RBAC Integration
  • PostgreSQL & SQLAlchemy Models
  • Alembic DB migrations

AI Engineering

  • Retrieval-Augmented Generation (RAG)
  • pgvector DB & Embeddings Search
  • LangChain Orchestrations
  • Ollama Custom Offline LLMs

DevOps & Cloud Systems

  • Linux Server administration
  • AWS EC2, S3 bucket storage
  • Automated Render & Netlify hooks
  • Git & GitHub workflow architecture

Engineering Journey

Factual career trajectory highlighting continuous specialization in backend layers and generative AI tools.

2026 - 2027

Full Stack Engineering Specialist

Internship at MG Academy & Open Source Contributions

Integrating advanced Large Language Models, configuring RAG (Retrieval-Augmented Generation) setups using vector databases (pgvector), and designing complete CMS dashboards with database registries and dynamic PDF generation.

2025 - 2026

Backend Infrastructure Developer

Freelance at Elecnova & Independent APIs

Structuring modular FastAPI architectures, designing JWT authorization networks, deploying to Render and AWS cloud machines, and auditing databases for latency reduction.

2024 - 2025

Foundational Engineering

HTML, CSS, Tailwind & JavaScript integrations

Mastering standard DOM, writing accessible web markup, and developing responsive interfaces that serve as client-facing panels for background systems.

System Architectures & Case Studies

Deep-dive technical reviews of architectural maps, data flows, and security decisions for major implementations.

Healthcare Architecture Case Study

Appointment Service API

Problem: Healthcare scheduling requires strict conflict prevention to ensure doctors are not double-booked across overlapping durations.

Constraints: Low database locks, fast scheduling calculations under high concurrent requests, and strict adherence to regional medical compliance.

Clients FastAPI Core JWT / RBAC Middleware Conflict Validation PostgreSQL (Appointments) Redis Cache (Session Lock)
DSA Concept Case Study

Misinformation Propagation Detector

Problem: Implementing complex graph traversal and propagation models (like breadth-first search and path tracing) on node networks for educational demonstrations.

Constraints: Rendering matrix modifications and pointer layouts cleanly on the frontend browser while keeping processing logic distinct.

UI Frontend Python API Parameters & JSON ctypes C simulation logic Graph Traversal Matrix (DSA propagation model)
E-Learning Architecture Case Study

MG Academy CMS

Problem: Handling student profiles, managing course registries, processing digital certificates, and managing enrollments safely without server memory exhaustion.

Constraints: Storing binary files, rendering certificates on the fly, and tracking payment states securely.

Nginx Proxy FastAPI Core Admin Dashboard Certificate PDF Engine PostgreSQL DB (Student Profiles) AWS S3 Cloud (Certificates / Media)

Engineering Philosophy

Pragmatic architectural guidelines that govern writing sustainable, high-availability software products.

01. Clean Architecture

Strict separation of concerns. Frameworks and databases are details; core system logic remains clean, isolated, and unit-testable.

02. Scalable Databases

Designing clean relationships, tuning execution plans, leveraging connection pooling, and organizing vector indices to support spikes in activity.

03. Security First

Protecting endpoints from injection risks, verifying hashing layers (bcrypt), configuring TLS encryptions, and validating JWT expirations.

04. Intellectual Simplicity

Avoiding over-engineering. Writing straightforward code that is easy to audit, debug, onboard other engineers, and modify in production.

05. High-Throughput Focus

Leveraging asynchronous execution loops, database query optimizations, memory cache buffers, and compiled algorithms to minimize CPU usage.

06. Continuous Adaptation

Following evolving software trends. Staying current on vector embeddings, LLM orchestration frameworks, and server deployment updates.

Open-Source Core Philosophy

GitHub Integration Hub

Explore @rayen-segni

Maintaining clean source code histories is a key part of my engineering approach. I design modular code, manage dependency versions, write complete readmes, and publish open-source core modules.

LANGUAGE FREQUENCY

Python 60%
HTML / CSS / JS 25%
C 15%

TOTAL REPOS

13

CONTRIBUTIONS

480+ / YR

Code Commit Frequency Matrix

Mon Wed Fri
Less
More Commits

Value-Driven Services

Delivering concrete engineering outputs that solve business constraints, improve performance, and protect data.

Technical FAQ

Factual answers detailing capabilities, stacks, and workflow execution for search crawlers and clients.

Mohamed Rayen Segni is a professional Software Engineer based in Tunisia, specializing in high-throughput Backend Development, FastAPI applications, AI/RAG system integration, and secure DevOps setup.
His core technical stack includes Python, FastAPI, PostgreSQL, Ollama, LangChain, pgvector, OAuth2, JWT Authentication, and Linux DevOps pipelines (AWS, Render, Netlify).
Yes. FastAPI is his primary tool for backend development. He structures asynchronous APIs following clean architecture principles, utilizing SQLAlchemy, Alembic for migrations, and complete Uvicorn integrations.
Yes, he integrates Large Language Models (LLMs) into system architectures. He designs custom vector databases with pgvector for semantic search operations and configures offline AI services using Ollama.
Yes, he configures secure server deployments on Linux instances, set up Amazon Web Services (AWS) resources like EC2 and S3, handles DNS records, and implements automated build pipelines on Render and Netlify.
Yes, he partners with startups to build robust API systems, design database relationships, configure authentication protocols, and build highly scalable architectures.
Yes. He is available for freelance contracts, API development services, database optimizations, and system security configurations.
Yes. He builds Retrieval-Augmented Generation (RAG) models. This involves chunking files, creating vector embeddings, index queries inside pgvector databases, and feeding semantic data to LLMs via LangChain.
Yes. He audits running server architectures, optimizes database queries to lower hardware requirements, utilizes memory cache databases (Redis) to relieve CPU pressure, and removes idle virtual assets.
He uses PostgreSQL for relational data, Redis for asynchronous task queues and query caching, and pgvector for AI semantic search coordinates.

Technical Insights

Tutorials, architecture reviews, and engineering articles regarding FastAPI, pgvector, and cloud systems.

FastAPI / Security Coming Q3 2026

Architecting Asynchronous FastAPI Microservices

A guide on organizing project directories, configuring routers, managing database connections with async engines, and testing authentication blocks.

System Design Coming Q4 2026

Scaling Graph Calculations with compiled C code

Evaluating performance limits of network propagation scripts. Integrating fast compiled C code into Python systems using ctypes bindings.

AI / RAG Coming Q1 2027

pgvector Indices Tuning for Private Database Search

Comparing index speed (HNSW vs IVFFlat), optimizing vector query distances (Cosine, L2), and formatting LangChain embeddings.

Secure Communications Channel

Let's Build Together

If you require a scalable API service, custom LLM integrations, or a secure server deploy, write your requirements below to initiate a consultation.

WHATSAPP: +216 22841069
LOCATION: Tunis, Tunisia