README.md

July 14, 2025 ยท View on GitHub

Awesome NaNLABS

Changelog | Contributing

Continious Integration License: MIT

This is a curated list of all the Open Source examples and projects we have at NaN Labs.

Contents

Apps and Boilerplates

NameDescriptionKeywords
Automation SeedA robust end-to-end automation framework built on WebdriverIO v7 and Selenium, leveraging Selenoid for execution. It includes features like Allure reporting, TypeScript support, and CI/CD integration with GitHub Actions.Automation Framework, Selenium, WebdriverIO, Selenoid, Allure Reporting, TypeScript, GitHub Actions, GitHub Pages
AWS Glue ETL BoilerplateA comprehensive boilerplate for AWS Glue ETL jobs, featuring infrastructure deployment with the Serverless Framework and local development using DevContainers or Docker Compose. Includes Python Shell and PySpark job examples.AWS Glue, ETL, Python, PySpark, Serverless Framework, DevContainers, Docker Compose, Jupyter Notebook
Basic AWS Glue ETL example appA simplified yet practical example of an AWS Glue application. It uses the Serverless Framework for infrastructure deployment and supports local development with DevContainers or Docker Compose.AWS Glue, ETL, Python, PySpark, Serverless Framework, DevContainers, Docker Compose, Jupyter Notebook
FastAPI Example with PostgreSQL and Serverless FrameworkA REST API built with FastAPI and PostgreSQL, deployed to AWS Lambda using the Serverless Framework. Includes database migrations with Alembic.Python3, FastAPI, PostgreSQL, Serverless, AWS Lambda, Alembic
FastAPI Simple example with Docker Compose and PIPA lightweight FastAPI example demonstrating containerization with Docker Compose and dependency management with PIP.Python3, FastAPI, Docker, PIP
FastAPI with MongoDB and Docker ComposeA REST API built with FastAPI and MongoDB, containerized using Docker Compose for seamless development and deployment.Python3, FastAPI, MongoDB, Docker, Docker Compose
Geospatial Python Urban Analysis with PostGISA comprehensive geospatial data analysis project for urban environments, featuring analysis of pedestrian zones, transportation networks, census data, and geographic boundaries. Built with PostgreSQL/PostGIS, Docker, and GeoPandas for efficient spatial queries, ETL pipelines, and geospatial machine learning models.Python3, GeoPandas, PostGIS, PostgreSQL, Docker, Geospatial Analysis, Urban Planning, ETL, Machine Learning, Jupyter Notebooks, Folium, Matplotlib, Scikit-learn, Rasterio, GIS
Golang REST API boilerplateA comprehensive REST API boilerplate in Golang, featuring CRUD operations, structured logging, rate limiting, unit and integration tests, and API documentation with Swagger. Includes Docker Compose for MongoDB setup and tools like Gorilla Mux, Zap, and Mockery for streamlined development.Golang, REST API, MongoDB, Gorilla Mux, Go Swagger, Tollbooth, Zap, Viper, Mockery, Makefile, Pre-commit, Docker, Docker Compose, DockerTest, Swagger, Rate Limiting, Logging, Testing
LangGraph SLS FastAPI RAGA Proof of Concept (POC) for a Retrieval Augmented Generation (RAG) system using LangGraph, deployed with the Serverless Framework on AWS Lambda. It integrates FastAPI for API development and DynamoDB for state management.Python3, FastAPI, LangGraph, Serverless Framework, AWS Lambda, DynamoDB, Docker, RAG, Retrieval Augmented Generation
React BoilerplateA robust boilerplate for starting React projects with Vite, featuring CI/CD setup, Docker integration, hot reload for development, and production-ready optimizations.React, Boilerplate, Vite, CI/CD, Docker
SQLC with Go, PostgreSQL, Docker ComposeA REST API built with Go and SQLC, showcasing database operations with PostgreSQL and containerized development using Docker Compose.Golang, SQLC, PostgreSQL, Docker, Docker Compose
Storybook PlaygroundAn application showcasing examples of React components, hooks, and libraries developed in the Nancy.js repository. It serves as a playground for testing and demonstrating these features using Storybook.React, Storybook, Nancy.js, Component Library
Terraform AWS StarterGet started quickly with AWS infrastructure using a robust Terraform starter kit incorporating secure state management, VPC configuration, security groups, RDS provisioning, secrets management, SSM parameter store, and GitHub Actions integration!Terraform, Terraform Modules, Infrastructure as Code, AWS, VPC, RDS, RDS Aurora, MongoDB, GitHub Actions, SSM Parameter Store, Secrets Management, Security Groups, Super Linter
TypeScript Monorepo BoilerplateA boilerplate for creating TypeScript monorepo projects using Turborepo, with support for NPM workspaces, Changesets, and a complete development setup.TypeScript, Turborepo, Monorepo, Boilerplate, React, NPM Workspaces, Changesets, ESLint, Prettier, Jest, Nest.js, Storybook

Node Packages

NameDescriptionKeywords
@nanlabs/eslint-configA shared ESLint configuration to enforce consistent coding standards across JavaScript projects.ESLint, Code Style, JavaScript
@nanlabs/eslint-config-nextAn ESLint configuration designed for Next.js projects, ensuring adherence to best practices and consistent coding standards.ESLint, Next.js, TypeScript, Code Style
@nanlabs/eslint-config-reactAn ESLint configuration optimized for React projects, promoting best practices and consistent code style.ESLint, React, TypeScript, Code Style
@nanlabs/eslint-config-tsAn ESLint configuration tailored for TypeScript projects, ensuring consistent and error-free TypeScript code.ESLint, TypeScript, Code Style
@nanlabs/fpA TypeScript library offering functional programming utilities, including type guards, error handling, and other tools to write cleaner, more maintainable code.Functional Programming, TypeScript, Utilities, Error Handling
@nanlabs/react-hooksA collection of reusable React hooks designed to simplify state management, side effects, and other common patterns in React applications.React, Hooks, Custom Hooks, State Management
@nanlabs/react-thirdpartyA React library offering components that integrate with third-party services like Google ReCaptcha, enabling seamless external integrations.React, Components, Third-Party Integrations, Google ReCaptcha
@nanlabs/react-uiA comprehensive library of React components designed to accelerate UI development with a consistent design system.React, Components, UI, Design System, Reusable
@nanlabs/thirdpartyA utility library providing tools for integrating third-party services into web applications, including support for APIs like Google ReCaptcha.Third-Party Tools, Integrations, Web Development

Guides, Tutorials and Best Practices

NameDescriptionKeywords
Automate Pull Requests Reviews using DangerThis workflow automates the initial review of Pull Requests using Danger.js. It helps lint rote tasks in daily code review and codifies team norms.GitHub Actions, Danger.js, Code Review, Automation
Comparative Analysis between styled-components and Tailwind CSSAn article presenting a comparative analysis of styled-components and Tailwind CSS, focusing on practical implementations of a UI challenge using both libraries.CSS, styled-components, Tailwind CSS, UI Challenge
Embracing the Power of LocalStack for AWS EmulationA comprehensive guide highlighting the benefits of using LocalStack for AWS service emulation. The blog post covers various LocalStack examples for Docker and Serverless setups and explores its application in local development, CI, and more.LocalStack, AWS, Docker, Serverless, DevOps, CI, Local Development
Exploring DevContainers: A Versatile Development Environment SolutionIntroduction to Development Containers (DevContainers), a solution to create development environments with a unique approach to address specific development environment needsDevContainer, VSCode DevContainer, GitHub Codespaces, Docker, Docker Compose
Feature flags post by AtlassianA guide by Atlassian on progressively exposing features using feature flags, authored by Ian Buchanan.Feature Flags, Best Practices
Navigator Clipboard API Integration GuideA detailed guide to integrating the Navigator Clipboard API into web applications for seamless content sharing and enhanced user experience.Clipboard API, Integration, User Experience
React Security Best Practices GuideA checklist providing React security best practices to identify and address security issues, with guidance on automating security testing.React, Security, Best Practices, Automated Testing
Supercharge Your Website with Core Web VitalsA guide to optimizing website performance and SEO using Core Web Vitals, with practical tips and tools for delivering exceptional user experiences.Core Web Vitals, SEO, Performance, User Experience
The Ultimate Guide to Code Review ToolsA guide where we present a curated selection of modern tools designed to revolutionize your code review process!Code Review, Code Review Tools
The Ultimate Guide to Pull Requests and Code ReviewsComprehensive guide on creating effective pull requests and conducting thorough code reviews. This guide provides an overview of best practices, common pitfalls, and tools to automate and streamline the review process.Pull Requests, Code Reviews, Best Practices, Automation, GitHub Actions, DangerJS
The Ultimate Guide to Secrets Management for DevelopersUnlock the arcane art of secrets management with our comprehensive guide! Tailored for the average dev, this post is a treasure map leading to the best practices for storing and accessing sensitive data. Learn to navigate tools like AWS Parameter Store, direnv, teller, and more, with easy-to-follow examples that bring the theory to life. Perfect for those who've never realized the gravity of a leaked secret, this guide will be your enchanted scroll of wisdom.Secrets Management, Cloud Secrets Management, direnv, teller, Security, DevOps, Best Practices, Environment Variables, Encryption, SOPS, Secure Configuration
The Ultimate React State Management FrameworkAn article presenting a step-by-step framework for making informed decisions in React state management, ensuring robust and maintainable applications.React, State Management, Framework, Best Practices
Tilt + Minikube Development EnvironmentSeamless, efficient, and developer-friendly Kubernetes development environment using Tilt and Minikube.Kubernetes, Tilt, Minikube, Development Environment, MicroServices
TODOs to GitHub IssuesThis tutorial shows how to create a GitHub Action that converts TODO comments into GitHub issues.GitHub Actions, TODOs, Issues, Automation
Using Serverless Framework with TerraformThe definitive example of how to use Terraform and Serverless Framework together.Serverless Framework, Terraform, AWS
When to use Shell ScriptsA Google guide outlining best practices for determining when to use shell scripts in development and operations.Shell Scripting, Best Practices, Utilities

Examples

Frontend

Website Optimization and Performance

NameDescriptionKeywords
Supercharge Your Website with Core Web VitalsA guide to optimizing website performance and SEO using Core Web Vitals, with practical tips and tools for delivering exceptional user experiences.Core Web Vitals, SEO, Performance, User Experience

React State Management

NameDescriptionKeywords
AgileTsAn example showcasing the use of AgileTs for scalable and maintainable state management in React applications.React, AgileTs, State Management
AkitaAn example illustrating the use of Akita for state management in React applications.React, Akita, State Management
ContextAn example showcasing the use of React Context to share data between components efficiently.React, Context API, State Management
EffectorAn example showcasing the use of Effector for reactive state management in React applications.React, Effector, State Management
Global StateAn example illustrating how to implement a global state using React Hooks for centralized state management.React, Global State, State Management
HookstateAn example demonstrating the use of Hookstate for efficient and scalable state management in React applications.React, Hookstate, State Management
JotaiAn example illustrating the use of Jotai for atomic state management in React applications.React, Jotai, State Management
MobXAn example demonstrating the use of MobX for bidirectional state management in React applications.React, MobX, State Management
MobX State TreeAn example illustrating the use of MobX State Tree for bidirectional state management in React applications.React, MobX State Tree, State Management
NextJS with SWRAn example demonstrating the use of SWR with NextJS for efficient data fetching and mutation.NextJS, SWR, React, Data Fetching
Prop DrillingAn example demonstrating how to pass data from a parent component to a child component using props in React.React, Props, State Management
React Easy StateAn example demonstrating the use of React Easy State for bidirectional state management in React applications.React, React Easy State, State Management
React QueryAn example demonstrating the use of React Query for efficient data fetching and caching in React applications.React, React Query, Data Fetching
RecoilAn example demonstrating the use of Recoil for efficient state management in React applications.React, Recoil, State Management
Redux ToolkitAn example demonstrating the use of Redux Toolkit for unidirectional state management in React applications.React, Redux Toolkit, State Management
RematchAn example showcasing the use of Rematch for unidirectional state management in React applications.React, Rematch, State Management
RxjsAn example demonstrating the use of Rxjs for reactive programming and state management in React applications.React, Rxjs, Reactive Programming
StoreonAn example showcasing the use of Storeon for lightweight state management in React applications.React, Storeon, State Management
SWRAn example showcasing the use of SWR for efficient data fetching and caching in React applications.React, SWR, Data Fetching
TeafulAn example showcasing the use of Teaful for lightweight and simple state management in React applications.React, Teaful, State Management
The Ultimate React State Management FrameworkAn article presenting a step-by-step framework for making informed decisions in React state management, ensuring robust and maintainable applications.React, State Management, Framework, Best Practices
UnistoreAn example illustrating the use of Unistore for unidirectional state management in React applications.React, Unistore, State Management
ValtioAn example showcasing the use of Valtio for bidirectional state management in React applications.React, Valtio, State Management
XStateAn example illustrating the use of XState for managing state with finite state machines in React applications.React, XState, State Management
ZustandAn example illustrating the use of Zustand for unidirectional state management in React applications.React, Zustand, State Management

Microfrontend

NameDescriptionKeywords
Microfrontend with Shared React Router and React ApplicationAn example demonstrating a microfrontend project with shared React Router in a container application and independent React application.React, Microfrontend, Shared Router, Integration
Microfrontend with Shared React Router and React ComponentsAn example showcasing a microfrontend project with shared React Router and React components for seamless integration.React, Microfrontend, Shared Router, Integration
Microfrontend with Shared React Router and Vue ApplicationAn example showcasing a microfrontend project with shared React Router in a container application and independent Vue application.React, Vue, Microfrontend, Shared Router, Integration

Styling and CSS

NameDescriptionKeywords
Comparative Analysis between styled-components and Tailwind CSSAn article presenting a comparative analysis of styled-components and Tailwind CSS, focusing on practical implementations of a UI challenge using both libraries.CSS, styled-components, Tailwind CSS, UI Challenge

Virtual Dom

NameDescriptionKeywords
Proof of Concept: Million, The Virtual DOM Replacement for React.A proof of concept showcasing Million as a virtual DOM replacement for React, with comparative performance analysis.React, Million, Virtual DOM, Performance

Security Best Practices

NameDescriptionKeywords
React Security Best Practices GuideA checklist providing React security best practices to identify and address security issues, with guidance on automating security testing.React, Security, Best Practices, Automated Testing

NextJs

NameDescriptionKeywords
NextJS with SWRAn example demonstrating the use of SWR with NextJS for efficient data fetching and mutation.NextJS, SWR, React, Data Fetching

React Native

Expo
NameDescriptionKeywords
React Native with expo routerAn example demonstrating the use of expo router for efficient navigation in React Native applications.React Native, Expo, Navigation
React Native with expo router and shared routesAn example showcasing the use of expo router with shared routes for seamless navigation in React Native applications.React Native, Expo, Shared Routes

Clipboard Integration

NameDescriptionKeywords
Navigator Clipboard API Integration GuideA detailed guide to integrating the Navigator Clipboard API into web applications for seamless content sharing and enhanced user experience.Clipboard API, Integration, User Experience

DevOps

A/B Testing

NameDescriptionKeywords
AWS CloudWatch EvidentlyAn in-depth analysis and proof of concept demonstrating how to integrate AWS CloudWatch Evidently with a Node.js application for A/B testing and feature flag management.AWS CloudWatch, CloudWatch Evidently, A/B Testing, Feature Flags, Node.js
Feature flags post by AtlassianA guide by Atlassian on progressively exposing features using feature flags, authored by Ian Buchanan.Feature Flags, Best Practices

Shell Scripting and CLI Tools

NameDescriptionKeywords
Bash as a Wrapper UtilityAn example showcasing how to use Bash as a wrapper utility for other languages and tools, enhancing script reusability and modularity.Shell Scripting, Utilities, Bash
Bash as a Wrapper Utility with Easy OptionsAn advanced example of using Bash as a wrapper utility, incorporating Easy Options for argument parsing.Shell Scripting, Utilities, Easy Options, Bash
Parsing Shell Script Arguments with Easy OptionsAn example demonstrating how to simplify shell script argument parsing using the Easy Options library.Shell Scripting, Utilities, Easy Options
ShellCheck for Shell ScriptingLearn how to use ShellCheck to lint your shell scripts and catch potential issues before they become a problem.Tutorial, ShellCheck, Shell Scripting, Automation
When to use Shell ScriptsA Google guide outlining best practices for determining when to use shell scripts in development and operations.Shell Scripting, Best Practices, Utilities

Continuous Integration, Delivery and Deployment

NameDescriptionKeywords
Actionlint PlaygroundA static checker for GitHub Actions workflow files, helping to identify syntax and logic issues.GitHub Actions, Actionlint, CI/CD
Automate Pull Requests Reviews using DangerThis workflow automates the initial review of Pull Requests using Danger.js. It helps lint rote tasks in daily code review and codifies team norms.GitHub Actions, Danger.js, Code Review, Automation
Automating Pull Request Review using DangerJS and GitHub ActionsLearn how to automate Pull Request (PR) reviews using DangerJS and GitHub Actions. Automating PR reviews helps enforce coding standards, catch potential issues, and improve code quality in your GitHub repository.Tutorial, GitHub Actions, DangerJS, Pull Request, Automation
Automation Seed exampleDifferent workflows to validate the code and deploy an automation report page.GitHub Actions, Automation, CI/CD
Markdown LintThis workflow validates the Markdown files in the repository using the markdownlint action.GitHub Actions, Markdown Lint, CI/CD
React BoilerplateDifferent workflows to validate the code and deploy a React application.GitHub Actions, React, CI/CD
Shell CheckThis workflow validates the shell scripts in the repository using the shellcheck action.GitHub Actions, Shell Check, CI/CD
Terraform CheckThis workflow validates the Terraform files in the repository using the terraform action.GitHub Actions, Terraform, CI/CD
The Ultimate Guide to Code Review ToolsA guide where we present a curated selection of modern tools designed to revolutionize your code review process!Code Review, Code Review Tools
The Ultimate Guide to Pull Requests and Code ReviewsComprehensive guide on creating effective pull requests and conducting thorough code reviews. This guide provides an overview of best practices, common pitfalls, and tools to automate and streamline the review process.Pull Requests, Code Reviews, Best Practices, Automation, GitHub Actions, DangerJS
TODOs to GitHub IssuesThis tutorial shows how to create a GitHub Action that converts TODO comments into GitHub issues.GitHub Actions, TODOs, Issues, Automation

Containers, Orchestration and Serverless

Containers and Compositions (Docker, Docker Compose, Buildpacks and more)
NameDescriptionKeywords
Airflow and Spark environment using Docker and Docker ComposeDockerfile and compose.yml to run Airflow locally with initialization scripts.Docker, Docker Compose, Airflow, Spark
AWS Cognito local using Docker Composecompose.yml to run Cognito locally.Docker, Docker Compose, Cognito, AWS
AWS Glue using Docker and Docker ComposeDockerfile and compose.yml for AWS Glue development with AWS Glue Libs, Spark, Jupyter Notebook, AWS CLI among other tools.Docker, Docker Compose, AWS Glue, Spark, Jupyter Notebook, AWS CLI
AWS Neptune using Docker and Docker ComposeDockerfile and compose.yml to run AWS Neptune locally with initialization scripts.Docker, Docker Compose, AWS Neptune
Docker Compose NestJS Starter AppDocker Compose starter app for NestJS.Docker, Docker Compose, NestJS, Node.js
Embracing the Power of LocalStack for AWS EmulationA comprehensive guide highlighting the benefits of using LocalStack for AWS service emulation. The blog post covers various LocalStack examples for Docker and Serverless setups and explores its application in local development, CI, and more.LocalStack, AWS, Docker, Serverless, DevOps, CI, Local Development
FastAPI Simple example with Docker Compose and PIPA lightweight FastAPI example demonstrating containerization with Docker Compose and dependency management with PIP.Python3, FastAPI, Docker, PIP
FastAPI with MongoDB and Docker ComposeA REST API built with FastAPI and MongoDB, containerized using Docker Compose for seamless development and deployment.Python3, FastAPI, MongoDB, Docker, Docker Compose
Geospatial Python Urban Analysis with PostGISA comprehensive geospatial data analysis project for urban environments, featuring analysis of pedestrian zones, transportation networks, census data, and geographic boundaries. Built with PostgreSQL/PostGIS, Docker, and GeoPandas for efficient spatial queries, ETL pipelines, and geospatial machine learning models.Python3, GeoPandas, PostGIS, PostgreSQL, Docker, Geospatial Analysis, Urban Planning, ETL, Machine Learning, Jupyter Notebooks, Folium, Matplotlib, Scikit-learn, Rasterio, GIS
Localstack using Docker and Docker ComposeDockerfile and compose.yml to run Localstack locally with all the necessary services. This example also includes a script to create the necessary resources in Localstack. The provided examples are for DynamoDB, S3, SQS and Kinesis.Docker, Docker Compose, Localstack, DynamoDB, S3, SQS, Kinesis
Microsoft SQL Server using Docker and Docker ComposeDockerfile and compose.yml to run Microsoft SQL Server locally with initialization scripts.Docker, Docker Compose, Microsoft SQL Server
MongoDB + Mongo Express using Docker and Docker ComposeDockerfile and compose.yml to run MongoDB and Mongo Express locally with initialization scripts.Docker, Docker Compose, MongoDB, Mongo Express
PostgreSQL using Docker and Docker ComposeDockerfile and compose.yml to run PostgreSQL locally with initialization scripts.Docker, Docker Compose, PostgreSQL
Python BuildpackBuildpack example for Python applications.Buildpack, Python
Serverless LocalStack with S3 and DynamoDBServerless Framework example to run lambda functions locally using Serverless Offline with LocalStack. It provides a full local development environment using Serverless LocalStack.Serverless Framework, Serverless Offline, Serverless LocalStack, LocalStack, S3, DynamoDB
SQLC with Go, PostgreSQL, Docker ComposeA REST API built with Go and SQLC, showcasing database operations with PostgreSQL and containerized development using Docker Compose.Golang, SQLC, PostgreSQL, Docker, Docker Compose
Verdaccio with Docker Compose ExampleVerdaccio is a lightweight private npm proxy registry. This example shows how to run Verdaccio locally using Docker Compose.Docker, Docker Compose, Verdaccio, Node Package Manager
WordPress Docker Compose MagicExperience the magic of WordPress with this Docker Compose configuration. It seamlessly combines the power of Nginx, WordPress, and MySQL/MariaDB to create a delightful web environment. The lightweight Nginx handles incoming requests, custom configurations shape the entrance to the WordPress realm, and MariaDB ensures a robust database foundation. Explore the enchanting WordPress Wonderland locally or deploy it to the cloud effortlessly.Docker Compose, Web Hosting, Content Management, PHP, Nginx Configuration, MariaDB Database, MySQL Database
Development and Cloud Environments
NameDescriptionKeywords
AWS GlueDevContainer for AWS Glue development. Uses docker-compose to run VSCode attached to a container with all the necessary tools to develop AWS Glue jobs such us AWS Glue Libs, Spark, Jupyter Notebook, AWS CLI among other tools.Docker, Docker Compose, DevContainer, VSCode DevContainer, GitHub Codespaces, AWS Glue, Spark, Jupyter Notebook, AWS CLI
Exploring DevContainers: A Versatile Development Environment SolutionIntroduction to Development Containers (DevContainers), a solution to create development environments with a unique approach to address specific development environment needsDevContainer, VSCode DevContainer, GitHub Codespaces, Docker, Docker Compose
Kubernetes
NameDescriptionKeywords
aws-eks (Terraform Module)Opinionated wrapper for EKS clusters with VPC CNI optimization, node group management, OIDC integration, and production-ready defaults.Kubernetes, OIDC, Node Groups, Monitoring
IngressIngress example using NGINX Ingress Controller. You can run this example locally using Minikube.Kubernetes, Ingress, NGINX Ingress Controller
Medium Complexity Infrastructure (Terraform Example)Medium-complexity setup with EKS, RDS, Bastion, and custom IAM. Shows microservices infrastructure with best practices.Kubernetes, Database, Bastion, IAM
Tilt + Minikube Development EnvironmentSeamless, efficient, and developer-friendly Kubernetes development environment using Tilt and Minikube.Kubernetes, Tilt, Minikube, Development Environment, MicroServices

Low Code solutions

AWS Amplify
NameDescriptionKeywords
AWS Amplify + NextJS 13AWS Amplify example to deploy a NextJS v13 application to the Cloud.AWS Amplify, NextJS, NextJS 13
aws-amplify-app (Terraform Module)Opinionated wrapper for AWS Amplify App with integrated GitHub PAT management, optimized for React/Node.js apps.Frontend, CI/CD, GitHub Integration, Parameter Store
Simple Web App (Terraform Example)Deploy a simple web application using AWS Amplify and a custom VPC. Demonstrates frontend hosting, GitHub integration, and secure infrastructure.Frontend, Amplify, VPC, Parameter Store

Infrastructure as Code

Serverless Framework, SAM and CloudFormation
NameDescriptionKeywords
AWS AppSync + PythonServerless Framework example to deploy an AWS AppSync API using Python. It also has a local development environment using Serverless Offline.Serverless Framework, AWS AppSync, Python
AWS AppSync + TypeScriptServerless Framework example to deploy an AWS AppSync API using TypeScript. It also has a local development environment using Serverless Offline.Serverless Framework, AWS AppSync, TypeScript
AWS Cognito Local ExampleAWS Cognito local enviroment with Docker and Serverless offlineServerless Framework, Serverless Offline, AWS, Cognito, Docker
AWS Glue with Python Shell and PySpark JobsServerless Framework example to deploy an AWS Glue job using Python Shell and PySpark.Serverless Framework, AWS Glue, Python Shell, PySpark
DocumentDB ClusterServerless Framework example to deploy a DocumentDB cluster with all the necessary resources.Serverless Framework, DocumentDB
Embracing the Power of LocalStack for AWS EmulationA comprehensive guide highlighting the benefits of using LocalStack for AWS service emulation. The blog post covers various LocalStack examples for Docker and Serverless setups and explores its application in local development, CI, and more.LocalStack, AWS, Docker, Serverless, DevOps, CI, Local Development
FastAPI Example with PostgreSQL and Serverless FrameworkA REST API built with FastAPI and PostgreSQL, deployed to AWS Lambda using the Serverless Framework. Includes database migrations with Alembic.Python3, FastAPI, PostgreSQL, Serverless, AWS Lambda, Alembic
LangGraph SLS FastAPI RAGA Proof of Concept (POC) for a Retrieval Augmented Generation (RAG) system using LangGraph, deployed with the Serverless Framework on AWS Lambda. It integrates FastAPI for API development and DynamoDB for state management.Python3, FastAPI, LangGraph, Serverless Framework, AWS Lambda, DynamoDB, Docker, RAG, Retrieval Augmented Generation
Neo4j in EC2Serverless Framework example to deploy a Neo4j instance in EC2.Serverless Framework, Neo4j, EC2
RDS Postgres InstanceServerless Framework example to deploy a RDS Postgres instance with all the necessary resources.Serverless Framework, RDS Postgres
RDS Postgres Instance with Serverless VPC PluginServerless Framework example to deploy a RDS Postgres instance with all the necessary resources using Serverless VPC Plugin.Serverless Framework, RDS Postgres, Serverless VPC Plugin
Serverless + FastAPIServerless Framework example to deploy a FastAPI application using Python. It also has local development environment using Serverless Offline.Serverless Framework, Serverless Offline, FastAPI, Python
Serverless Bundle Plugin ExampleServerless Framework example to deploy a lambda function using Middy, the stylish Node.js middleware engine for AWS Lambda and Serverless Bundle Plugin.Serverless Framework, Middy, Serverless Bundle Plugin, TypeScript
Serverless LocalStack with S3 and DynamoDBServerless Framework example to run lambda functions locally using Serverless Offline with LocalStack. It provides a full local development environment using Serverless LocalStack.Serverless Framework, Serverless Offline, Serverless LocalStack, LocalStack, S3, DynamoDB
Serverless MiddyServerless Framework example to deploy a lambda function using Middy, the stylish Node.js middleware engine for AWS Lambda.Serverless Framework, Middy
Serverless Middy with Custom MiddlewareServerless Framework example to deploy a lambda function using Middy, the stylish Node.js middleware engine for AWS Lambda.Serverless Framework, Middy, Custom Middleware
Serverless Nest Application with TypeScriptServerless Framework example to deploy a NestJS application using TypeScript.Serverless Framework, NestJS, TypeScript
Serverless S3 LocalServerless Framework example to run a lambda function locally using Serverless S3 Local.Serverless Framework, Serverless S3 Local
Serverless SQS offline + Python + Localstack ExampleServerless Framework example to run lambda functions locally using Serverless Offline SQS with Localstack. It provides a full local development environment using Serverless Offline.Serverless Framework, SQS, Serverless Offline, Serverless Offline SQS, Localstack, Python
Serverless SQS offline + TypeScript + ElasticMQ ExampleServerless Framework example to run lambda functions locally using Serverless Offline SQS with ElasticMQ. It provides a full local development environment using Serverless Offline.Serverless Framework, SQS, Serverless Offline, Serverless Offline SQS, ElasticMQ
Serverless Twilio + Typescript Lambda exampleServerless Framework example to deploy a lambda function using Twilio and TypeScript.Serverless Framework, Serverless Offline, AWS, Twilio, TypeScript
Start and Stop EC2 Instances with AWS LambdaServerless Framework example to start and stop EC2 instances using AWS Lambda.Serverless Framework, EC2, AWS Lambda
Using Serverless Framework with TerraformThe definitive example of how to use Terraform and Serverless Framework together.Serverless Framework, Terraform, AWS
Terraform
NameDescriptionKeywords
aws-amplify-app (Terraform Module)Opinionated wrapper for AWS Amplify App with integrated GitHub PAT management, optimized for React/Node.js apps.Frontend, CI/CD, GitHub Integration, Parameter Store
aws-bastion (Terraform Module)Custom implementation for a secure, zero-trust bastion host using SSM, EC2 Instance Connect, VPC endpoints, and CloudWatch logging.Security, Zero Trust, Session Manager, CloudWatch
aws-docdb (Terraform Module)Custom DocumentDB cluster module with integrated AWS Secrets Manager, SSM Parameter Store, and production-ready defaults.Database, Secrets Manager, SSM, Security
aws-eks (Terraform Module)Opinionated wrapper for EKS clusters with VPC CNI optimization, node group management, OIDC integration, and production-ready defaults.Kubernetes, OIDC, Node Groups, Monitoring
aws-iam-role (Terraform Module)Flexible IAM role module supporting custom trust policies, inline/managed policies, and advanced security conditions.IAM, Security, Policies, RBAC
aws-msk (Terraform Module)Opinionated wrapper for Amazon MSK (Kafka) with enhanced security, DNS integration, logging, and production defaults.Streaming, Security, DNS, Logging
aws-rds (Terraform Module)Complete wrapper for RDS with enhanced security, monitoring, SSM Parameter Store integration, and simplified configuration for PostgreSQL/MySQL.Database, Parameter Store, Security, Monitoring
aws-rds-aurora (Terraform Module)Fully customizable wrapper for Aurora clusters, supporting Serverless v2, SSM integration, and production-grade configuration.Database, Aurora, Serverless, SSM
aws-vpc (Terraform Module)Complete wrapper around the official terraform-aws-modules/vpc/aws module with opinionated defaults, security best practices, and SSM Parameter Store integration.Networking, Parameter Store, Security, Best Practices
Complete Enterprise Setup (Terraform Example)Enterprise-grade infrastructure example with EKS, Aurora, MSK, DocumentDB, Bastion, IAM, monitoring, and security best practices.EKS, Aurora, MSK, DocumentDB, Bastion, IAM, Monitoring
Medium Complexity Infrastructure (Terraform Example)Medium-complexity setup with EKS, RDS, Bastion, and custom IAM. Shows microservices infrastructure with best practices.Kubernetes, Database, Bastion, IAM
mongodb-atlas-cluster (Terraform Module)Custom MongoDB Atlas cluster module with project/team management, VPC peering, AWS integration, and secure connection details.Database, Atlas, VPC Peering, Secrets Manager, SSM
nanlabs/terraform-modulesA comprehensive collection of reusable, production-ready Terraform modules and infrastructure examples for AWS and MongoDB Atlas, following best practices for security, scalability, and cost optimization.Modules Library, Examples, Best Practices, Production Ready
Simple Web App (Terraform Example)Deploy a simple web application using AWS Amplify and a custom VPC. Demonstrates frontend hosting, GitHub integration, and secure infrastructure.Frontend, Amplify, VPC, Parameter Store
Terraform AWS Minecraft ServerTerraform example to deploy a Minecraft server in AWS EC2 instance using Docker.Terraform, AWS, Minecraft, Docker, EC2
Terraform AWS RDS Postgres instanceTerraform module for creating AWS RDS Postgres instance.Terraform, AWS, RDS
Terraform AWS StarterGet started quickly with AWS infrastructure using a robust Terraform starter kit incorporating secure state management, VPC configuration, security groups, RDS provisioning, secrets management, SSM parameter store, and GitHub Actions integration!Terraform, Terraform Modules, Infrastructure as Code, AWS, VPC, RDS, RDS Aurora, MongoDB, GitHub Actions, SSM Parameter Store, Secrets Management, Security Groups, Super Linter
Terraform AWS VPC resourcesTerraform module for creating AWS VPC resources.Terraform, AWS, VPC
Terraform Bastion HostTerraform module which creates an EC2 instance acting as a bastion hostTerraform, AWS, Bastion
Terraform Examples by nanlabsEnd-to-end infrastructure examples using the nanlabs Terraform modules, covering simple web apps, medium-complexity microservices, and full enterprise setups.simple-web-app, medium-complexity-infrastructure, complete-enterprise-setup
Terraform Modules by nanlabsBattle-tested, security-first, and cost-optimized Terraform modules for AWS and MongoDB Atlas. Includes VPC, EKS, RDS, Aurora, MSK, Bastion, IAM, Amplify, and more.aws-vpc, aws-eks, aws-rds, aws-rds-aurora, aws-msk, aws-bastion, aws-docdb, aws-iam-role, aws-amplify-app, mongodb-atlas-cluster
Terraform Starter Kit for AWS VPC, RDS instance, and Bastion HostTerraform Starter kit for creating AWS infrastructure using Terraform that contains a VPC, RDS instance, and a bastion host.Terraform, AWS, VPC, RDS, Bastion
Using Serverless Framework with TerraformThe definitive example of how to use Terraform and Serverless Framework together.Serverless Framework, Terraform, AWS
Secrets Management
NameDescriptionKeywords
The Ultimate Guide to Secrets Management for DevelopersUnlock the arcane art of secrets management with our comprehensive guide! Tailored for the average dev, this post is a treasure map leading to the best practices for storing and accessing sensitive data. Learn to navigate tools like AWS Parameter Store, direnv, teller, and more, with easy-to-follow examples that bring the theory to life. Perfect for those who've never realized the gravity of a leaked secret, this guide will be your enchanted scroll of wisdom.Secrets Management, Cloud Secrets Management, direnv, teller, Security, DevOps, Best Practices, Environment Variables, Encryption, SOPS, Secure Configuration

Infrastructure from Code

Klotho and more
NameDescriptionKeywords
KlothoA complete analysis of the service and a Proof of Concept on how to integrate it with a GO application.AWS, Pulumi, Deployment, Klotho

Dependency Management

NameDescriptionKeywords
Node Package ManagersComparison of the most popular Node Package Managers: npm, yarn, pnpm.Node, npm, yarn, pnpm
Verdaccio with Docker Compose ExampleVerdaccio is a lightweight private npm proxy registry. This example shows how to run Verdaccio locally using Docker Compose.Docker, Docker Compose, Verdaccio, Node Package Manager

Security and Compliance

NameDescriptionKeywords
The Ultimate Guide to Pull Requests and Code ReviewsComprehensive guide on creating effective pull requests and conducting thorough code reviews. This guide provides an overview of best practices, common pitfalls, and tools to automate and streamline the review process.Pull Requests, Code Reviews, Best Practices, Automation, GitHub Actions, DangerJS
The Ultimate Guide to Secrets Management for DevelopersUnlock the arcane art of secrets management with our comprehensive guide! Tailored for the average dev, this post is a treasure map leading to the best practices for storing and accessing sensitive data. Learn to navigate tools like AWS Parameter Store, direnv, teller, and more, with easy-to-follow examples that bring the theory to life. Perfect for those who've never realized the gravity of a leaked secret, this guide will be your enchanted scroll of wisdom.Secrets Management, Cloud Secrets Management, direnv, teller, Security, DevOps, Best Practices, Environment Variables, Encryption, SOPS, Secure Configuration
The Ultimate Guide to Security Assessment ToolsComprehensive guides for integrating security tools at different stages of the development lifecycle, including IDE integrations, Git workflows, and CI/CD pipelines.Security, DevOps, Snyk, Trivy, Super Linter, Mega Linter, Shift Left

Backend

CLI Tools

NameDescriptionKeywords
Python CLI Basic ExampleA minimal Python CLI example showcasing how to create commands without requiring the explicit use of the Python interpreter or script path.Python3, CLI, Command Line
Python CLI with Typer + Rich ExampleA Python CLI tool built with Typer and Rich, demonstrating interaction with external APIs for currency exchange rates and styled console outputs.Python3, Typer, Rich, API Integration, CLI

FastAPI

NameDescriptionKeywords
FastAPI Basic ExampleA simple REST API built with FastAPI that retrieves mock data using the Faker library, showcasing basic API development.Python3, FastAPI, Faker, Mock Data, Pydantic
FastAPI Complete CRUD ExampleA complete CRUD API built with FastAPI, featuring endpoints for managing employees and companies, along with database population using Faker.Python3, FastAPI, CRUD, SQLAlchemy, Alembic, Docker, PostgreSQL
FastAPI Example with PostgreSQL and Serverless FrameworkA REST API built with FastAPI and PostgreSQL, deployed to AWS Lambda using the Serverless Framework. Includes database migrations with Alembic.Python3, FastAPI, PostgreSQL, Serverless, AWS Lambda, Alembic
FastAPI GraphQLA GraphQL API built with FastAPI and Strawberry, retrieving mock company data using the Faker library.Python3, FastAPI, GraphQL, Strawberry, Faker
FastAPI Simple example with Docker Compose and PIPA lightweight FastAPI example demonstrating containerization with Docker Compose and dependency management with PIP.Python3, FastAPI, Docker, PIP
FastAPI with MongoDB and Docker ComposeA REST API built with FastAPI and MongoDB, containerized using Docker Compose for seamless development and deployment.Python3, FastAPI, MongoDB, Docker, Docker Compose
LangGraph SLS FastAPI RAGA Proof of Concept (POC) for a Retrieval Augmented Generation (RAG) system using LangGraph, deployed with the Serverless Framework on AWS Lambda. It integrates FastAPI for API development and DynamoDB for state management.Python3, FastAPI, LangGraph, Serverless Framework, AWS Lambda, DynamoDB, Docker, RAG, Retrieval Augmented Generation

ThirdParty Integrations

Stripe
NameDescriptionKeywords
Stripe Integration with Node.js and TypeScriptA robust Stripe integration example using Node.js and TypeScript, enabling operations like customer creation, checkout sessions, and webhook handling.Node.js, TypeScript, Stripe, Payments, Webhooks, API Integration

Microservices

NameDescriptionKeywords
NestJS REST-based Microservices with NATSA microservices architecture example using NestJS and NATS, demonstrating asynchronous messaging and request-reply patterns.Node.js, NestJS, Microservices, NATS, Messaging, REST

SQLC

NameDescriptionKeywords
SQLC with Go, PostgreSQL, Docker ComposeA REST API built with Go and SQLC, showcasing database operations with PostgreSQL and containerized development using Docker Compose.Golang, SQLC, PostgreSQL, Docker, Docker Compose

Data Science and Machine Learning

Geospatial Analysis

NameDescriptionKeywords
Geospatial Python Urban Analysis with PostGISA comprehensive geospatial data analysis project for urban environments, featuring analysis of pedestrian zones, transportation networks, census data, and geographic boundaries. Built with PostgreSQL/PostGIS, Docker, and GeoPandas for efficient spatial queries, ETL pipelines, and geospatial machine learning models.Python3, GeoPandas, PostGIS, PostgreSQL, Docker, Geospatial Analysis, Urban Planning, ETL, Machine Learning, Jupyter Notebooks, Folium, Matplotlib, Scikit-learn, Rasterio, GIS

Contributing

  • Contributions make the open source community such an amazing place to learn, inspire, and create.
  • Any contributions you make are truly appreciated.
  • Check out our contribution guidelines for more information.