Skip to content

nazirov91/ra-strapi-rest-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Start the Strapi backend server

  1. Navigate into server = cd server
  2. Run yarn or npm install
  3. Once the dependencies are installed, run yarn build and then yarn develop
  4. Login using the sample credentials admin@email.com, Admin123
  5. Navigate to Settings -> API Tokens and 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

  1. Navigate into admin_ui = cd admin_ui
  2. Run yarn or npm install
  3. Once the dependencies are installed, run yarn build and then yarn dev
  4. Create an .env file in the main admin_ui directory, and add an entry for the API token VITE_STRAPI_API_TOKEN=[YOUR STRAPI API TOKEN HERE]

Next open localhost:5173 and you should see a react-admin page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published