/react-admin-shop

this my front end for backend-web

Primary LanguageTypeScript

test-admin

Installation

Install the application dependencies by running:

npm install

Development

Start the application in development mode by running:

npm run dev

Production

Build the application in production mode by running:

npm run build

DataProvider

The included data provider use ra-data-simple-rest. It fits REST APIs using simple GET parameters for filters and sorting. This is the dialect used for instance in FakeRest.

You'll find an .env file at the project root that includes a VITE_JSON_SERVER_URL variable. Set it to the URL of your backend.

Authentication

The included auth provider should only be used for development and test purposes. You'll find a users.json file in the src directory that includes the users you can use.

You can sign in to the application with the following usernames and password:

  • alireza / username
  • hosseini / password