Front-end project , companion repo for the book Building APIs with Strapi
and the API project
This example react app require the strapi api to be up and running, if you do not have the API yet please set it up first. API project
- Clone this repo
- Install the required dependencies
yarn install
- Create
.env.local
file , and add theREACT_APP_STRAPI_API_URL
pointing to your strapi instnace
REACT_APP_STRAPI_API_URL=http://localhost:1337
- Start the development server
yarn start