Install the application dependencies by running:
yarn
Start the application in development mode by running:
yarn dev
Build the application in production mode by running:
yarn build
The included data provider use ra-data-json-server. It fits REST APIs powered by JSON Server, such as JSONPlaceholder.
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. By default, we set it to targets JSONPlaceholder.
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