Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bjornmelin/bjornmelin-platform-io
Cloud-native portfolio platform powering bjornmelin.io. Demonstrates AWS solutions architecture through microservices, serverless APIs, and infrastructure as code. Built with Next.js, AWS CDK, and modern DevOps practices.
https://github.com/bjornmelin/bjornmelin-platform-io
aws aws-cdk aws-cognito cicd cloud-architecture cloudfront containerization devops dynamodb express github-actions infrastructure-as-code microservices nextjs node-js portfolio-website route53 solutions-architecture tailwindcss typescript
Last synced: 6 days ago
JSON representation
Cloud-native portfolio platform powering bjornmelin.io. Demonstrates AWS solutions architecture through microservices, serverless APIs, and infrastructure as code. Built with Next.js, AWS CDK, and modern DevOps practices.
- Host: GitHub
- URL: https://github.com/bjornmelin/bjornmelin-platform-io
- Owner: BjornMelin
- Created: 2024-11-16T05:20:48.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-04T02:59:24.000Z (20 days ago)
- Last Synced: 2025-01-17T21:06:32.386Z (6 days ago)
- Topics: aws, aws-cdk, aws-cognito, cicd, cloud-architecture, cloudfront, containerization, devops, dynamodb, express, github-actions, infrastructure-as-code, microservices, nextjs, node-js, portfolio-website, route53, solutions-architecture, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 2.02 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: docs/security/README.md
Awesome Lists containing this project
README
# 🏗️ bjornmelin-platform-io
Cloud-native portfolio platform powering bjornmelin.io. Demonstrates AWS solutions architecture through serverless APIs and infrastructure as code. Built with React 18 RC, Next.js 14, AWS CDK, and modern DevOps practices.
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
[![AWS SAA](https://img.shields.io/badge/AWS-Solutions%20Architect%20Associate-FF9900?logo=amazon-aws)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-solutions-architect-associate)
[![AWS DVA](https://img.shields.io/badge/AWS-Developer%20Associate-FF9900?logo=amazon-aws)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-developer-associate)
[![AWS SysOps](https://img.shields.io/badge/AWS-SysOps%20Administrator%20Associate-FF9900?logo=amazon-aws)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-sysops-administrator-associate)
[![AWS ML](https://img.shields.io/badge/AWS-Machine%20Learning%20Engineer%20Associate-FF9900?logo=amazon-aws)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-machine-learning-engineer-associate)
[![AWS AIF](https://img.shields.io/badge/AWS-AI%20Practitioner-FF9900?logo=amazon-aws)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-ai-practitioner)
[![AWS CCP](https://img.shields.io/badge/AWS-Cloud%20Practitioner-FF9900?logo=amazon-aws)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-cloud-practitioner)
[![React](https://img.shields.io/badge/React-19_RC-blue?logo=react)](https://react.dev)
[![Next.js](https://img.shields.io/badge/Next.js-15-black?logo=next.js)](https://nextjs.org/)
[![GitHub](https://img.shields.io/badge/GitHub-BjornMelin-181717?logo=github)](https://github.com/BjornMelin)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-Bjorn%20Melin-0077B5?logo=linkedin)](https://www.linkedin.com/in/bjorn-melin/)
[![Coursera](https://img.shields.io/badge/Coursera-2A73CC?logo=coursera&logoColor=white)](https://www.coursera.org/learner/bjorn-melin)
[![Medium](https://img.shields.io/badge/Medium-000000?logo=medium&logoColor=white)](https://medium.com/@bjornmelin)## 🌟 Features
### Core Platform Features
- 🏗️ **Cloud Native Architecture**: Production-grade AWS infrastructure with CDK
- 🔐 **Enterprise Security**: Zero-trust architecture with AWS Cognito
- 🚀 **CI/CD Pipeline**: Automated deployments with GitHub Actions
- 📊 **Observability**: Comprehensive monitoring and logging
- 🔄 **Multi-Environment**: Development, staging, and production
- 🛡️ **Infrastructure as Code**: Complete AWS CDK implementation
- 📱 **Modern Frontend**: Next.js with Tailwind CSS
- 🌐 **Global Delivery**: CloudFront CDN integration### Modern Tech Features
- ⚡ **React 18 RC Integration**
- Document Metadata API
- Asset Loading API
- Progressive Loading
- Optimization Compiler- 🚀 **Next.js 14 App Router**
- Server Components
- Partial Prerendering
- Parallel Routes
- Edge Runtime- 🔄 **Full-Stack Type Safety**
- End-to-end typesafe APIs with tRPC
- Runtime validation
- Strict TypeScript
- Comprehensive error handling- ⚡ Performance First
- Edge deployment
- Streaming SSR
- Smart bundling
- Optimal caching## 📚 Quick Links
- [🏛️ Architecture](#️-architecture)
- [📁 Project Structure](#-project-structure)
- [🚀 Getting Started](#-getting-started)
- [🛠️ Tech Stack](#️-tech-stack)
- [🏗️ AWS Services Integration](#️-aws-services-integration)
- [💻 Development Scripts](#-development-scripts)
- [👨💻 Author](#-author)
- [📜 License](#-license)
- [🌟 Star History](#-star-history)
- [🙏 Acknowledgments](#-acknowledgments)## 🏛️ Architecture
### System Architecture
```mermaid
graph TB
subgraph "Global Edge Network"
CF[CloudFront Distribution]
WAF[AWS WAF]
endsubgraph "Frontend"
S3[S3 Bucket]
CF --> S3
WAF --> CF
endsubgraph "Authentication"
COGNITO[Cognito User Pools]
SECRETS1[Secrets Manager]
endsubgraph "API Layer"
APIGW[API Gateway]
LAMBDA[Lambda Functions]
SECRETS2[Secrets Manager]
endsubgraph "Data Layer"
DYNAMODB[DynamoDB Tables]
SECRETS3[Secrets Manager]
endCF --> APIGW
APIGW --> LAMBDA
LAMBDA --> DYNAMODB
LAMBDA --> SECRETS2
COGNITO --> SECRETS1
LAMBDA --> SECRETS3
```### Network Architecture
```mermaid
graph LR
subgraph "VPC"
subgraph "Public Subnets"
ALB[Application Load Balancer]
endsubgraph "Private Subnets"
ECS[ECS Services]
LAMBDA[Lambda Functions]
endsubgraph "Isolated Subnets"
DB[DynamoDB Endpoint]
end
endINTERNET[Internet] --> ALB
ALB --> ECS
ECS --> DB
LAMBDA --> DB
```### Secrets Access Pattern
```mermaid
sequenceDiagram
participant App as Application
participant SM as Secrets Manager
participant KMS as KMS
participant IAM as IAMApp->>IAM: Request Access
IAM-->>App: Grant Token
App->>SM: GetSecretValue
SM->>KMS: Decrypt
KMS-->>SM: Decrypted Value
SM-->>App: Secret Value
```## 📁 Project Structure
```bash
bjornmelin-platform-io/
├── .github/ # GitHub Actions workflows
│ └── workflows/
├── infrastructure/ # CDK infrastructure code
│ ├── bin/ # CDK app entry point
│ └── lib/ # CDK stacks and constructs
├── src/ # Application source code
│ ├── app/ # Next.js 15 App Router
│ │ ├── fonts/ # Local font files
│ │ └── globals.css # Global styles
│ ├── components/ # React components
│ └── lib/ # Shared utilities
├── public/ # Static assets
└── docs/ # Documentation
```### Core Components
- **Frontend**: Next.js 15 application with App Router
- **Infrastructure**: AWS CDK for cloud resource management
- **CI/CD**: GitHub Actions for automated deployments
- **CDN**: CloudFront with global edge locations
- **Monitoring**: CloudWatch with custom dashboards## 🚀 Getting Started
### Prerequisites
```bash
Node.js >= 20.0.0
yarn >= 4.0.0
AWS CLI configured
```### Initial Setup
```bash
# Clone repository
git clone https://github.com/bjornmelin/bjornmelin-platform-io.git
cd bjornmelin-platform-io# Install dependencies
yarn install# Configure AWS credentials
aws configure# Configure environment
cp .env.example .env.local
```### Infrastructure Deployment
```bash
# Deploy infrastructure
cd infrastructure
yarn cdk deploy
```### Local Development
```bash
# Start development server
yarn dev
```## 🛠️ Tech Stack
```yaml
Frontend:
Core:
- React 19 RC
- Next.js 15
- TypeScript 5.4UI:
- Tailwind CSS
- shadcn/ui
- Framer MotionInfrastructure:
Core:
- AWS CDK
- CloudFront
- Lambda Edge
- S3Development:
Tools:
- yarn
- ESLint
- Prettier
- TypeScript
```## 🏗️ AWS Services Integration
### Core Services
- **CloudFront**: Global content delivery with edge computing
- **Route53**: DNS management and routing policies
- **WAF**: Web application firewall and security rules
- **ACM**: Certificate management and SSL/TLS### Compute Services
- **Lambda**: Serverless functions with edge capabilities
- **ECS**: Container orchestration with Fargate
- **EC2**: Infrastructure hosts (minimal usage)### Storage Services
- **S3**: Static assets and website hosting
- **DynamoDB**: NoSQL database with global tables
- **EFS**: Container storage when needed### Security Services
- **Cognito**: User authentication and authorization
- **Secrets Manager**: Secure secrets storage and rotation
- **KMS**: Encryption key management
- **IAM**: Fine-grained access control### Developer Tools
- **CodeBuild**: CI/CD build processes
- **CodePipeline**: Deployment automation
- **CloudWatch**: Monitoring and alerting
- **X-Ray**: Distributed tracing## 💻 Development Scripts
- `pnpm run deploy:base` - Deploy base infrastructure
- `pnpm run deploy:frontend` - Deploy frontend application
- `pnpm run deploy:auth` - Deploy authentication service
- `pnpm run deploy:api` - Deploy API service## 👨💻 Author
### Bjorn Melin
[![AWS Certified Solutions Architect](https://images.credly.com/size/110x110/images/0e284c3f-5164-4b21-8660-0d84737941bc/image.png)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-solutions-architect-associate)
[![AWS Certified Developer](https://images.credly.com/size/110x110/images/b9feab85-1a43-4f6c-99a5-631b88d5461b/image.png)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-developer-associate)
[![AWS Certified SysOps Administrator](https://images.credly.com/size/110x110/images/f0d3fbb9-bfa7-4017-9989-7bde8eaf42b1/image.png)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-sysops-administrator-associate)
[![AWS Certified Machine Learning Engineer](https://images.credly.com/size/110x110/images/1a634b4e-3d6b-4a74-b118-c0dcb429e8d2/image.png)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-machine-learning-engineer-associate)
[![AWS Certified AI Practitioner](https://images.credly.com/size/110x110/images/4d4693bb-530e-4bca-9327-de07f3aa2348/image.png)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-ai-practitioner)
[![AWS Certified Cloud Practitioner](https://images.credly.com/size/110x110/images/00634f82-b07f-4bbd-a6bb-53de397fc3a6/image.png)](https://www.credly.com/org/amazon-web-services/badge/aws-certified-cloud-practitioner)AWS-certified Solutions Architect, Developer, SysOps Administrator, and Machine Learning Engineer with expertise in cloud architecture and modern development practices. Connect with me on:
- [GitHub](https://github.com/BjornMelin)
- [LinkedIn](https://www.linkedin.com/in/bjorn-melin/)
- [Coursera](https://www.coursera.org/learner/bjorn-melin)
- [Medium](https://medium.com/@bjornmelin)## 📜 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## 🌟 Star History
[![Star History Chart](https://api.star-history.com/svg?repos=bjornmelin/bjornmelin-platform-io&type=Date)](https://star-history.com/#bjornmelin/bjornmelin-platform-io&Date)
## 🙏 Acknowledgments
- AWS Documentation and Best Practices
- AWS CDK Patterns Community
- Next.js Documentation---
Built with React 18 RC + Next.js 14 by [Bjorn Melin](https://bjornmelin.io)