This application shows catalogue from the famour Rick & Morty show. This application has been developed using React Server Side Rendering
Node
version > 10 installed- A suitable package manager
yarn
ornpm
- Any IDE (Eg: Visual Studio Code)
- A terminal to clone the project from GitHub
- Clone the repository from
https://github.com/sarathps93/rick-morty-show
- Open the repository in an IDE and do a
yarn
ornpm install
- Build the production application build using
yarn build
- Start the application using
yarn start
. By default the application starts in port 8080. You can change it by altering the environment variable named PORT - For development purposes, you can build the development version of the application and start it using
yarn start:dev
. Make sure to watch the webpack files for easy reloading. I am yet to implement the hot reload functionality
- React Server Side Rendering application. Express Js application has been used as the server
- Redux for state managment
- Redux thunk for async state updates
- Post css loader and cssnano for css minification
In the interest of time, I have skipped few features which I will be implementing soon (Within this week).
- JavaScript minification and image compression
- Image lazy loading using Intersection Observer
- Usage of service workers for offline access
- Creating docker image of the application
- Implementation of a loader
- Other performance and compatibility optimisations
- Implement a unit test framework using jest and react test library