Skip to content

Samagra-Anamaya/admin-panel

Repository files navigation

test-admin

Installation

Install the application dependencies by running:

npm install
# or
yarn install

Development

Start the application in development mode by running:

npm run dev
# or
yarn dev

Production

Build the application in production mode by running:

npm run build
# or
yarn 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:

  • janedoe / password
  • johndoe / password