Our client wants to view an activities gallery of 2020 activities. Each month will be represented like an instagram story icon and the selected story should be highlighted. When the user selects a new month, the gallery should be updated with the month’s data.
- Node
- Yarn
- Copy .env.example contents to .env file in the same path
cp .env.example .env
- You can change PORT variable in
.env
file to change your development port. By default the application will launch on PORT 3000 - Set the value of
REACT_APP_ROOT_URL
with the URL. - Run
yarn install
to install the project dependencies. - Run
yarn start
to start the application
-
If any image or video is broken I remove the item from grid list.
-
I split the response to chunks and I render them based on infinite scroll.
- React
- styled-component