An open API service indexing awesome lists of open source software.

https://github.com/preprio/astro-quick-start

The Astro Quick Start package covers the basics of connecting Prepr CMS with Astro. With the provided steps, you can make a basic blog in less than 10 minutes.
https://github.com/preprio/astro-quick-start

astro astro-starter

Last synced: about 2 months ago
JSON representation

The Astro Quick Start package covers the basics of connecting Prepr CMS with Astro. With the provided steps, you can make a basic blog in less than 10 minutes.

Awesome Lists containing this project

README

        

# Astro Quick Start
The Astro quick start project launches a blog app with content from Prepr.

Check out the [Stackblitz demo](https://stackblitz.com/edit/astro-quick-start) for zero installation.

## Setup

Make sure to install the dependencies:

```bash
# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist
```

## Add the environment file
Copy the .env.example file in this directory to .env (which will be ignored by Git) by running the following command:
```bash
cp .env.example .env
```

## Update the environment file
In the .env file replace `` with the Prepr access token from your environment with demo content.

## Development Server

Start the development server on http://localhost:4321

```bash
npm run dev
```

## Production

Build the application for production:

```bash
npm run build
```

Locally preview production build:

```bash
npm run preview
```

Check out the [deployment documentation](https://docs.astro.build/en/guides/deploy/) for more information.

## The end result

![blog site end result](https://assets-site.prepr.io//5oz8w28ybxje-screenshot-2023-05-10-at-111353.png)