Overview
The SHATstack is an HTML-driven subset of the JAMstack, which consists of the following components: Serverless, HTML, Alpine.js, and TailwindCSS. This stack aims to simplify the development process by getting back to the basics and eliminating unnecessary acronyms.
Features
- Serverless: The SHATstack utilizes a serverless architecture, allowing for easy scalability and cost savings.
- HTML: With the SHATstack, HTML is at the core of the development process, providing a simple and intuitive markup language.
- Alpine.js: Alpine.js is included in the SHATstack, providing a lightweight JavaScript framework for adding interactivity to HTML elements.
- TailwindCSS: The SHATstack utilizes TailwindCSS, a utility-first CSS framework, to streamline the styling process and create consistent designs.
Installation
To get started with the SHATstack, follow these steps:
- Clone the repository to your local machine.
- Run
yarn installornpm installto install all required dependencies. - Use the command
yarn startornpm run startto start a local development server using Servey. - Use the command
yarn formatto run Prettier on the HTML pages to ensure consistent formatting. - Use the command
yarn buildto clean thedistdirectory and create adist/index.htmlfile from the files in thepagesdirectory. This command will also inline the styles that are used in each HTML page.
Summary
The SHATstack is a simplified and acronym-free stack that focuses on the core components of web development - HTML, Alpine.js, and TailwindCSS. By eliminating unnecessary complexities, the SHATstack offers an intuitive and streamlined development experience.