Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohamedsamara/astro-react-node
Astro React SSR
https://github.com/mohamedsamara/astro-react-node
astro react ssr tailwindcss
Last synced: about 1 month ago
JSON representation
Astro React SSR
- Host: GitHub
- URL: https://github.com/mohamedsamara/astro-react-node
- Owner: mohamedsamara
- License: mit
- Created: 2022-06-23T07:02:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-24T08:46:41.000Z (over 2 years ago)
- Last Synced: 2024-11-09T05:42:42.374Z (3 months ago)
- Topics: astro, react, ssr, tailwindcss
- Language: TypeScript
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Astro + React + Node Example
This project is an example of using astro implementing SSR to generate page content on each request.
## Quick start
1. Clone this repo using `git clone https://github.com/mohamedsamara/astro-react-node.git`
2. Move to the directory: `cd `.
3. Run `yarn install` in order to install dependencies.## Start development
```
$ yarn dev
```## Simple build for production
```
$ yarn build
```## Preview production build
```
$ yarn preview
```## Run server
```
$ yarn server
```## Format with prettier
```
$ yarn format
```