This project provides a template for server-side rendering (SSR) with React.
To get started, clone this repository and navigate to its directory:
git clone https://github.com/ahmetkosker/react-ssr.git
cd react-ssrThen, install the project dependencies using Yarn:
yarn installThis project includes several commands to help you with development and production:
To start the development environment, run:
yarn start:devThis command compiles both client and server code, watches Tailwind CSS for changes, and restarts the server automatically whenever you make modifications.
For compiling the project for production, use the following command:
yarn buildThis command compiles both client and server code optimized for production.
To start the compiled server code, use:
yarn startFor any questions or feedback regarding the project, please feel free to reach out to Ahmet Köşker via email at [email protected].