Strapi V4 and ra-strapi-rest DEMO
- Navigate into server =
cd server - Run
yarnornpm install - Once the dependencies are installed, run
yarn buildand thenyarn develop - Login using the sample credentials
[email protected],Admin123 - Navigate to
Settings -> API Tokensand generatea a full access API Token. Save it somewhere, we will use it in the front end next
Start the React-admin project with VITE
- Navigate into admin_ui =
cd admin_ui - Run
yarnornpm install - Once the dependencies are installed, run
yarn buildand thenyarn dev - Create an
.envfile in the main admin_ui directory, and add an entry for the API tokenVITE_STRAPI_API_TOKEN=[YOUR STRAPI API TOKEN HERE]
Next open localhost:5173 and you should see a react-admin page.