- In
service.js, utilise the 'APIs' provided bydata.jsto create a promise resolving to an array of chatlog messages in the following format, sorted by time.
[
{
"messageId": "12356",
"userId": "613651251",
"fullName": "Robin Balmforth",
"timestamp": "2017-02-23T14:57:20.629Z",
"email": "robin@example.com",
"message": "Hello, World!",
"avatar": null
},
...
]- Create a view of this dataset, with the root of your React application starting in
App.js
Run the web application in developer mode
npm
npm startExecute Jest tests that have the .test.js extension
npm testExecute integration tests with cypress with following commands. App must be running on port 3000 (npm start)
npm cypress:runTo view redux implementation switch to redux-implementation branch
git checkout redux-implementationFor deployment suggestion switch to deployment-implementation branch
git checkout deployment-implementation
