Skip to content

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

Notifications You must be signed in to change notification settings

preprio/react-quick-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Quick Start

The React quick start project launches a blog app with content from Prepr.

Look at the React Quick start guide to learn more, or check out the Stackblitz demo for zero installation.

Setup

Make sure to install the dependencies:

# 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:

cp .env.example .env

Update the environment file

In the .env file replace <YOUR-ACCESS-TOKEN> with the Prepr access token from your environment with demo content.

Development Server

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

npm start

Production

Build the application for production:

npm run build

Check out the deployment documentation for more information.

The end result

blog site end result

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published