An app based on reactjs which fetches the latest photos from Flickr API.
- Node v12+
- NPM v6+ or Yarn v1+
- Flickr API key, you can get it from here
- Clone this repository
- copy
.env.example
to.env
- replace
REACT_APP_API_KEY
value with your own Flickr API key - run
yarn
ornpm install
run yarn start
or npm start
run yarn run build
or npm run build
run yarn test
or npm run test
to run the interactive test runner powered by Jest
This app is built using React and Typescript (for better typing).
It implements store functionality without the use of Redux or Redux toolkit
with the possibility to dispatch actions from child components.
Also, the store can be selected from any child component using AppContext
.
Styling is done using CSSModule
to enable CSS scoping.