Install the application dependencies by running:
npm install
Start the application in development mode by running:
npm run dev
Build the application in production mode by running:
npm run 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
.
You can run the included tests with the following command:
npm run test
# or
yarn run test