https://github.com/awslabs/nx-plugin-for-aws

The @aws/nx-plugin is a collection of code generators that automate the creation and configuration of cloud-native applications using AWS, TypeScript, Python and React within the Nx development ecosystem.

https://github.com/awslabs/nx-plugin-for-aws

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.7%) to scientific vocabulary

Keywords

aws aws-cdk cloudfront cloudscape fastapi lambda mcp nx productivity python react tanstack trpc typescript
Last synced: 5 months ago · JSON representation

Repository

The @aws/nx-plugin is a collection of code generators that automate the creation and configuration of cloud-native applications using AWS, TypeScript, Python and React within the Nx development ecosystem.

Basic Info
Statistics
  • Stars: 39
  • Watchers: 4
  • Forks: 10
  • Open Issues: 26
  • Releases: 86
Topics
aws aws-cdk cloudfront cloudscape fastapi lambda mcp nx productivity python react tanstack trpc typescript
Created about 1 year ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Notice

README.md

NX plugin for AWS - @aws/nx-plugin

Quickly bootstrap and build AWS projects easily

Apache 2.0 License Gitpod ready-to-code Release badge Commit activity

Demo
👉 See full documentation on https://awslabs.github.io/nx-plugin-for-aws 👈

Intro

@aws/nx-plugin is a collection of generators to help you build cloud-native applications with AWS.

Key Features

  • Declarative: Generate code that follows best practices for AWS cloud development.
  • Component-Based: Add components to your project as needed, from React websites to serverless APIs using either the CLI or UI.
  • Learn Once, Use Anywhere: Consistent patterns across different AWS services and application types.
  • Open for modification: All code generated is your code and can be edited as you see fit.
  • Type safety: Type-safety is employed to support IDE completions and reduce the number of runtime errors encountered.
  • Minimal dependencies: Getting up and running is simple and only requires langugage level global dependencies.

Available Generators

  • ts#project - Generate a new TypeScript library.
  • ts#infra - Generate a Typescript AWS CDK infrastructure project for your application.
  • ts#react-website - Generate a new React based web application using Vite.
  • ts#react-website#auth - Add AWS Cognito authentication to your React website.
  • ts#trpc-api - Generate a tRPC backend service with Amazon API Gateway/AWS Lambda integrations and AWS Powertools pre-configured.
  • ts#nx-generator - Add an Nx Generator to a TypeScript project.
  • ts#mcp-server - Add a Model Context Protocol (MCP) server to a TypeScript project.
  • ts#lambda-function - Generate a TypeScript lambda function with optional type-safe event sources.
  • terraform#project - Generate a new Terraform project.
  • py#project - Generate a uv based Python project.
  • py#fast-api - Generate a FastAPI backend service with AWS Powertools pre-configured.
  • py#lambda-function - Add a lambda function to an existing python project with optional type-safe event sources.
  • py#mcp-server - Add a Model Context Protocol (MCP) server to a Python project.
  • py#strands-agent Add a Strands Agent to a Python project
  • api-connection - Connect frontend applications to backend APIs.
  • license - Automatically manage LICENSE files and source code headers in your workspace.

Getting started

@aws/nx-plugin has been designed for gradual adoption from the start, and you can use as little or as much of it as you need.

Follow the Quick Start guide to create a workspace and add projects.

Additional resources

MCP Server Installation and Setup

This package additionally provides an MCP server to help AI assistants use the Nx Plugin for AWS.

  1. Ensure you have node and npm installed (see here)
  2. Add the server to your MCP client configuration

Example configuration for Amazon Q CLI MCP (~/.aws/amazonq/mcp.json):

json { "mcpServers": { "aws-nx-mcp": { "command": "npx", "args": ["-y", "-p", "@aws/nx-plugin", "aws-nx-mcp"] } } }

If you have issues such as ENOENT npx, replace the command with /full/path/to/npx (use which npx to find this).

For more details, take a look at the guide here

Contributing

The main purpose of this repository is to continue evolving @aws/nx-plugin, making it faster and easier to use. Development happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements.

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to @aws/nx-plugin.

Code of Conduct

This project has adopted a Code of Conduct that we expect project participants to adhere to. Please read the Code of Conduct so that you can understand what actions will and will not be tolerated.

License

@aws/nx-plugin is Apache 2.0 licensed.

Owner

  • Name: Amazon Web Services - Labs
  • Login: awslabs
  • Kind: organization
  • Location: Seattle, WA

AWS Labs

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 166
  • Total Committers: 8
  • Avg Commits per committer: 20.75
  • Development Distribution Score (DDS): 0.458
Past Year
  • Commits: 166
  • Committers: 8
  • Avg Commits per committer: 20.75
  • Development Distribution Score (DDS): 0.458
Top Committers
Name Email Commits
🚀 Jack j****e@a****m 90
Adrian Dimech d****a@a****m 69
github-actions[bot] g****] 2
Van Vo Thanh v****h@o****m 1
Joohong Kim k****o@a****m 1
Gergely Varga s****e@g****m 1
Brandon Woodall y****n@m****m 1
Amazon GitHub Automation 5****o 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 60
  • Total pull requests: 103
  • Average time to close issues: 17 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 8
  • Total pull request authors: 9
  • Average comments per issue: 0.38
  • Average comments per pull request: 1.77
  • Merged pull requests: 73
  • Bot issues: 0
  • Bot pull requests: 9
Past Year
  • Issues: 60
  • Pull requests: 103
  • Average time to close issues: 17 days
  • Average time to close pull requests: 3 days
  • Issue authors: 8
  • Pull request authors: 9
  • Average comments per issue: 0.38
  • Average comments per pull request: 1.77
  • Merged pull requests: 73
  • Bot issues: 0
  • Bot pull requests: 9
Top Authors
Issue Authors
  • cogwirrel (37)
  • agdimech (14)
  • sperka (3)
  • julianpitt (2)
  • rgoodwin (1)
  • rogermil-amazon (1)
  • payton-burr (1)
  • shsrams (1)
Pull Request Authors
  • cogwirrel (71)
  • agdimech (15)
  • dependabot[bot] (9)
  • mteichtahl (3)
  • swap-aws (1)
  • bmwoodall (1)
  • sperka (1)
  • aJoohongKim (1)
  • julianpitt (1)
Top Labels
Issue Labels
enhancement (35) bug (22) documentation (3)
Pull Request Labels
dependencies (9) github_actions (7) javascript (2) enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 3,669 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 87
  • Total maintainers: 1
npmjs.org: @aws/nx-plugin

<div align="center"> <h1>NX plugin for AWS - @aws/nx-plugin</h1> <h3>Quickly bootstrap and build AWS projects easily</h3> <a href="https://opensource.org/licenses/Apache-2.0"> <img src="https://img.shields.io/badge/License-Apache%202.0-yel

  • Versions: 87
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,669 Last month
Rankings
Dependent repos count: 25.4%
Average: 31.0%
Dependent packages count: 36.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/actions/init-monorepo/action.yml actions
  • actions/cache v4 composite
  • actions/setup-node v4 composite
  • astral-sh/setup-uv v5 composite
  • nrwl/nx-set-shas v4 composite
  • oven-sh/setup-bun v2 composite
  • pnpm/action-setup v4 composite
.github/workflows/ci.yml actions
  • ./.github/actions/init-monorepo * composite
  • actions/checkout v4 composite
  • actions/configure-pages v5 composite
  • actions/deploy-pages v4 composite
  • actions/download-artifact v4 composite
  • actions/upload-artifact v4.4.0 composite
  • actions/upload-pages-artifact v3 composite
.github/workflows/pr.yml actions
  • ./.github/actions/init-monorepo * composite
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/upload-artifact v4.4.0 composite
package.json npm
  • @apidevtools/swagger-parser ^10.1.1 development
  • @astrojs/react ^4.2.0 development
  • @astrojs/starlight ^0.31.1 development
  • @astrojs/starlight-tailwind ^3.0.0 development
  • @astrojs/tailwind ^6.0.0 development
  • @commitlint/cli ^19.6.0 development
  • @commitlint/config-conventional ^19.6.0 development
  • @hey-api/openapi-ts 0.64.4 development
  • @iarna/toml ^2.2.5 development
  • @nx/devkit 20.4.6 development
  • @nx/eslint 20.4.6 development
  • @nx/eslint-plugin 20.4.6 development
  • @nx/js 20.4.6 development
  • @nx/playwright 20.4.6 development
  • @nx/react 20.4.6 development
  • @nx/vite 20.4.6 development
  • @nxlv/python ^20.5.1 development
  • @phenomnomnominal/tsquery 6.1.3 development
  • @quantco/pnpm-licenses ^2.1.0 development
  • @tailwindcss/vite ^4.0.9 development
  • @ts-morph/bootstrap ^0.26.1 development
  • @types/fs-extra ^11.0.4 development
  • @types/lodash.camelcase ^4.3.9 development
  • @types/lodash.clonedeepwith ^4.5.9 development
  • @types/lodash.kebabcase 4.1.9 development
  • @types/lodash.orderby ^4.6.9 development
  • @types/lodash.snakecase ^4.1.9 development
  • @types/lodash.trim ^4.5.9 development
  • @types/lodash.uniqby ^4.7.9 development
  • @types/node 18.16.9 development
  • @types/react 18.3.1 development
  • @types/react-dom ^19.0.4 development
  • @typescript-eslint/eslint-plugin ^8.18.0 development
  • @typescript-eslint/parser ^8.18.0 development
  • @vitejs/plugin-react ^4.2.0 development
  • @vitest/coverage-v8 ^1.6.0 development
  • @vitest/ui ^1.6.0 development
  • astro ^5.1.5 development
  • class-variance-authority ^0.7.1 development
  • clsx ^2.1.1 development
  • commitizen ^4.3.1 development
  • cz-conventional-changelog ^3.3.0 development
  • esbuild * development
  • eslint ^9.17.0 development
  • eslint-config-prettier ^9.1.0 development
  • eslint-plugin-cypress ^4.1.0 development
  • eslint-plugin-import ^2.31.0 development
  • eslint-plugin-jsx-a11y ^6.10.2 development
  • eslint-plugin-playwright ^2.1.0 development
  • eslint-plugin-react ^7.37.2 development
  • eslint-plugin-react-hooks ^5.1.0 development
  • exponential-backoff ^3.1.1 development
  • fast-glob ^3.3.3 development
  • fs-extra ^11.2.0 development
  • husky ^9.1.7 development
  • jsdom ~22.1.0 development
  • lint-staged ^15.2.11 development
  • lodash.camelcase ^4.3.0 development
  • lodash.clonedeepwith ^4.5.0 development
  • lodash.kebabcase 4.1.1 development
  • lodash.orderby ^4.6.0 development
  • lodash.snakecase 4.1.1 development
  • lodash.trim ^4.5.1 development
  • lodash.uniqby ^4.7.0 development
  • lucide-react ^0.476.0 development
  • nx 20.4.6 development
  • openapi-types ^12.1.3 development
  • prettier ^3.4.2 development
  • react 18.3.1 development
  • react-dom 18.3.1 development
  • starlight-blog ^0.16.1 development
  • starlight-contributor-list ^0.2.0 development
  • starlight-links-validator ^0.14.2 development
  • starlight-videos ^0.1.0 development
  • tailwind-merge ^3.0.2 development
  • tailwindcss ^4.0.9 development
  • tailwindcss-animate ^1.0.7 development
  • tslib ^2.6.3 development
  • tsx * development
  • typescript ~5.5.4 development
  • verdaccio ^6.0.3 development
  • vite ^5.4.0 development
  • vitest ^1.6.0 development
packages/nx-plugin/package.json npm
  • @apidevtools/swagger-parser ^10.1.1
  • @hey-api/openapi-ts 0.64.4
  • @iarna/toml ^2.2.5
  • @nx/devkit 20.4.6
  • @nx/eslint 20.4.6
  • @nx/js 20.4.6
  • @nx/react 20.4.6
  • @nx/vite 20.4.6
  • @nxlv/python ^20.5.1
  • @phenomnomnominal/tsquery 6.1.3
  • fast-glob ^3.3.3
  • lodash.camelcase ^4.3.0
  • lodash.clonedeepwith ^4.5.0
  • lodash.kebabcase 4.1.1
  • lodash.orderby ^4.6.0
  • lodash.snakecase 4.1.1
  • lodash.trim ^4.5.1
  • lodash.uniqby ^4.7.0
  • minimatch ^10.0.1
  • openapi-types ^12.1.3
  • typescript ~5.5.4
  • vite ^5.4.0
  • vitest ^1.6.0
pnpm-lock.yaml npm
  • 599 dependencies