A Vite Typescript SSR React boilerplate!
The Vite Typescript React 18 SSRNode CIA is described as a modern web development stack template repo. It aims to provide a minimum viable example for several key features, including React 18, Typescript 4.9, Vite with Vite SSR, GitHub Actions, Tailwind CSS, Prettier, and ESLint. The template includes necessary files for development, building assets, and configuring linting and styling tools. GitHub Actions are used for building the app, and there is a badge at the top of the repository to confirm successful builds.
To install and set up the template, follow these instructions:
git clone <repository-url>
cd <repository-directory>
yarn install
yarn dev
This will start the server and open it in your default web browser at http://localhost:7456
. If you only want to work on the UI, you can start the native Vite client using the following command:
yarn vite
To build the assets for production, run the following command:
yarn build
This will create the assets in the dist
directory, with separate folders for the client and server files. You can run the server.js file using Node to serve the app, or modify it to suit your deployment needs.
The Vite Typescript React 18 SSRNode CIA template repo provides a modern web development stack with key features like React 18, Typescript 4.9, Vite with Vite SSR, Tailwind CSS, Prettier, and ESLint. It includes an Express server for SSRing Vite pages and is equipped with GitHub Actions for automated building. The template offers an easy installation process, making it suitable for developers looking for a streamlined setup for building modern web applications.