Skip to content

akhudiakov97/remix-cdk-deployment

Repository files navigation

CDK + Remix 🚀

Prerequisites 📋

Ensure you have the following tools installed before you begin:

  • Node.js (v20.0.0 or higher) 🟢
  • npm 📦
  • AWS CLI 🛠️
  • AWS CDK 🌐

Getting Started 🏁

To set up the project, follow these steps:

Clone the repository
git clone <repository-url>
Install dependencies in the root directory
npm install

Navigate to the infrastructure directory and install dependencies

cd infrastructure
npm install
Return to the root directory
cd ..

Development 🛠

Kickstart the development server with:

npm run dev

This command fires up the Remix app in development mode, enabling hot reloading for a seamless coding experience.

Building the Application 🏗️

Prepare the application for production:

npm run build

This script compiles both the Remix application and the AWS Lambda function, ensuring they are ready for deployment.

Deployment 🚀

Deploy your application to AWS with ease:

npm run deploy

This command orchestrates your infrastructure and application deployment using AWS CDK, streamlining the process without requiring manual approvals.

Architecture 🏠

The application operates on AWS, utilizing the following services:

  • Amazon S3: Hosting static files 📦
  • AWS Lambda: Handling server-side logic ⚙️
  • Amazon API Gateway: Managing requests as a proxy in front of AWS Lambda 🌐
  • Amazon CloudFront: Ensuring fast content delivery 🚅

Configuration ⚙️

Adjust the cdk.json file as necessary to tailor the AWS CDK deployment to your specific needs.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published