Overview:
The Remix Grunge Stack is a comprehensive set of tools and technologies that allows developers to build full-stack applications with ease. It includes features such as AWS deployment with Architect, production-ready DynamoDB Database, GitHub Actions for deployment, email/password authentication with cookie-based sessions, styling with Tailwind, end-to-end testing with Cypress, code formatting with Prettier, and much more. With the Remix Grunge Stack, developers have all the necessary resources and capabilities to create robust and efficient applications.
Features:
- AWS deployment with Architect: Deploy your application to AWS with ease using Architect, a powerful deployment tool.
- Production-ready DynamoDB Database: Benefit from a ready-to-use DynamoDB database for storing and retrieving data.
- GitHub Actions for deploy: Automate the deployment process with GitHub Actions, making it seamless and efficient.
- Email/Password Authentication with cookie-based sessions: Implement secure authentication for your application with cookie-based sessions.
- DynamoDB access via arc.tables: Access and interact with DynamoDB using arc.tables, providing an easy-to-use interface.
- Styling with Tailwind: Utilize the popular Tailwind CSS framework for effortless styling and customization.
- End-to-end testing with Cypress: Ensure the quality of your application through end-to-end testing with Cypress.
- Local third party request mocking with MSW: Mock third-party requests during development for easier testing and debugging.
- Unit testing with Vitest and Testing Library: Write unit tests to verify the functionality and correctness of your code.
- Code formatting with Prettier: Maintain consistent code formatting with Prettier, ensuring readability and maintainability.
- Linting with ESLint: Enforce coding standards and catch potential errors with ESLint.
- Static Types with TypeScript: Benefit from static typing with TypeScript, reducing the likelihood of runtime errors.
Installation:
To install the Remix Grunge Stack, follow these steps:
- Create a new GitHub repo.
- Sign up and log in to your AWS account.
- Add AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to your GitHub repo’s secrets. Retrieve these keys from your AWS security credentials.
- Install the AWS CLI on your development environment.
- Create an AWS credentials file.
- Set SESSION_SECRET and ARC_APP_SECRET variables for your CloudFormation in both staging and production environments.
- Generate a random secret using openssl or another method and replace $(openssl rand -hex 32) with the generated secret.
- Look for the CloudFormation template (sam.yaml) that was generated by Architect for your application.
Summary:
The Remix Grunge Stack is a powerful toolkit for building full-stack applications. It provides a wide range of features and tools, including AWS deployment, DynamoDB integration, GitHub Actions for deployment automation, authentication with cookie-based sessions, styling with Tailwind CSS, testing capabilities with Cypress and Vitest, code formatting and linting with Prettier and ESLint, and static typing with TypeScript. With the Remix Grunge Stack, developers have everything they need to create robust and efficient applications, while also having the flexibility to customize and modify the stack to suit their specific needs.