Name: Fernando Carril
Email: [email protected]
LinkedIn: https://www.linkedin.com/in/fcarril/
Demo: https://chat-8wswgplwk.now.sh/
Chat was built with React, Redux, Redux Thunk and some mocks for JavaScript and Material-UI for CSS.
A lot of reusable components and easy to change
Unit tests and integration tests with Jest and Enzyme.
Light app, file sizes after gzip:
- JS: 114.03 KB
- CSS: 955 B
In order to simulate a real environment and to be able to appreciate the changes in the UI, there are some latency in the requests, to change the latency value edit the latency
constant in the src/chat/mocks/utils.js
file (currently in 1 second)
Node.js installed (> 8.x LTS) required.
- Install the project dependencies:
npm install
- Start the development server:
npm start
Node.js installed (> 8.x LTS) required.
- Install the project dependencies:
npm install
- Build the app:
npm run build
- Run the build (or you can deploy the build):
serve -s build
Node.js installed (> 8.x LTS) required.
- Install Now
npm i -g now
- Run
now
More information: https://zeit.co/examples/create-react-app
- More unit testing / integration testing with Cypress
- Server-Side instead of a mock socket in the client
- i18n support with react-intl
- Better error handling on fetching the messages
- React Router (no needed for the exercise scope)
- List of contacts