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 FakeREST to simulate a backend.
You'll find a data.json
file in the src
directory that includes some fake data for testing purposes.
It includes two resources, posts and comments.
Posts have the following properties: id
, title
and content
.
Comments have the following properties: id
, post_id
and content
.
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