Devansh Patel

Research, strategy, and execution in one portfolio

This is the journey of one, Devansh Patel through their Master of Business Administration.

Embedded Papers

8 documents detected

Business Policies and Strategies

PDF

Business Policies and Strategies.pdf

A strategic review of competitive positioning and long-term policy alignment for sustainable growth.

Capstone MBA Final Paper

PDF

Capstone MBA Final Paper.pdf

Capstone synthesis that combines research, financial analysis, and implementation strategy into one final recommendation set.

Cloud Computing

PDF

Cloud Computing.pdf

An applied analysis of cloud operating models, service trade-offs, and practical adoption considerations.

Data Visualization

PDF

Data Visualization.pdf

A focused exploration of data storytelling techniques that improve clarity, decision speed, and executive communication.

Management Accounting

PDF

Management Accounting.pdf

A management accounting study covering cost behavior, budgeting choices, and performance measurement frameworks.

Managerial Economcis

PDF

Managerial Economcis.pdf

An economics-driven assessment of market behavior, pricing decisions, and managerial decision-making under constraints.

Organizational Behavior

PDF

Organizational Behavior.pdf

An examination of culture, motivation, and team dynamics with emphasis on leadership impact and execution.

Professional Values and Business Ethics

PDF

Professional Values and Business Ethics.pdf

A reflection on ethical frameworks, professional conduct, and governance principles in business contexts.

Project Architecture and Code Showcase

This section highlights the infrastructure diagrams and implementation files behind this portfolio deployment.

Diagrams

2 diagrams available

Code Highlights

6 curated files

Environment Composition

Root Terraform wiring that composes network, backend, artifacts, and edge modules.

HCL

infra/env/dev/main.tf

data "aws_availability_zones" "available" {
  state = "available"
}

data "aws_ami" "amazon_linux_2" {
  most_recent = true
  owners      = ["137112412989"]

  filter {
    name   = "name"
    values = ["amzn2-ami-hvm-*-x86_64-gp2"]
  }
}

module "network" {
  source = "../../modules/network"

  vpc_cidr             = var.vpc_cidr
  public_subnet_cidrs  = var.public_subnet_cidrs
  private_subnet_cidrs = var.private_subnet_cidrs
  availability_zones   = slice(data.aws_availability_zones.available.names, 0, 2)
  tags = {
    Environment = var.environment
    Project     = "devanshpatel-org"
Open full file

CloudFront Front Door

Path-based routing and OAC policies that protect S3 origins behind CloudFront.

HCL

infra/modules/edge/main.tf

resource "aws_s3_bucket" "site_bucket" {
  bucket = var.site_bucket_name
  acl    = "private"

  versioning {
    enabled = true
  }

  lifecycle {
    prevent_destroy = true
  }
}

resource "aws_s3_bucket_public_access_block" "site_bucket" {
  bucket = aws_s3_bucket.site_bucket.id

  block_public_acls       = true
  ignore_public_acls      = true
  block_public_policy     = true
  restrict_public_buckets = true
}

data "aws_region" "current" {}
Open full file

Backend Compute Layer

ALB and Auto Scaling launch template used for labs/auth application traffic.

HCL

infra/modules/backend/main.tf

resource "aws_lb" "main" {
  name               = "main-alb"
  internal           = false
  load_balancer_type = "application"
  security_groups    = [aws_security_group.alb_sg.id]
  subnets            = var.public_subnets

  enable_deletion_protection = false
  idle_timeout               = 60

  tags = {
    Name = "main-alb"
  }
}

resource "aws_lb_listener" "http" {
  count             = var.certificate_arn == "" ? 1 : 0
  load_balancer_arn = aws_lb.main.arn
  port              = 80
  protocol          = "HTTP"

  default_action {
    type             = "forward"
    target_group_arn = aws_lb_target_group.main.arn
Open full file

Edge Diagram Generator

Python source that renders the edge architecture diagram in docs output.

PYTHON

docs/diagrams/edge.py

from diagrams import Diagram, Cluster
from diagrams.aws.network import CloudFront, Route53, ALB, NATGateway
from diagrams.aws.security import CertificateManager
from diagrams.aws.storage import S3
from diagrams.aws.compute import EC2
from diagrams.generic.device import Mobile

with Diagram("Portfolio - Edge + Labs", show=False, outformat="png", filename="docs/diagrams/out/edge"):
    user = Mobile("User Browser")

    r53 = Route53("Route 53")
    acm = CertificateManager("ACM (CloudFront cert)")

    cf = CloudFront("CloudFront")

    with Cluster("S3 (private origins)"):
        site = S3("Site bucket")
        artifacts = S3("Artifacts bucket")

    with Cluster("VPC"):
        alb = ALB("ALB")
        with Cluster("Private subnets"):
            asg = EC2("EC2 ASG")
Open full file

Portfolio Frontend Renderer

Server-side HTML template powering this portfolio landing page and showcase sections.

TYPESCRIPT

web/src/pages/index.ts

export type PaperPreview = {
    title: string;
    fileName: string;
    extension: string;
    href: string;
    blurb: string;
};

export type DiagramPreview = {
    title: string;
    fileName: string;
    href: string;
    caption: string;
};

export type CodeShowcaseItem = {
    id: string;
    title: string;
    summary: string;
    language: string;
    relativePath: string;
    rawHref: string;
    snippet: string;
};
Open full file

API Entry Point

Express API service entrypoint used for labs/auth routes and health checks.

TYPESCRIPT

app/src/app.ts

import express from 'express';
import labsRoutes from './routes/labs';
import authRoutes from './routes/auth';

const app = express();
const PORT = process.env.PORT || 3000;

// Middleware
app.use(express.json());
app.use(express.urlencoded({ extended: true }));

// Routes
app.use('/labs', labsRoutes);
app.use('/auth', authRoutes);

// Health check route
app.get('/health', (req, res) => {
    res.status(200).send('OK');
});

// Start the server
app.listen(PORT, () => {
    console.log(`Server is running on http://localhost:${PORT}`);
});
Open full file