Flikr Pics brings forward all the best pictures based on what you want to see. I utilized a material UI theme for the layout: https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/album
I chose Material UI because of both familiarity and ease of use since it has components for pagination and searching.
Instructions to get the project deployed locally.
- Node.js v14.15.5
- Run
npm install
to install the neccesary dependencies. - Run
npm run dev-react
to compile all public files into a bundle. - Run
npm run dev-server
to serve up the files on port 3000
- Get a Flikr API at https://www.flickr.com/services/api/
- Generate a
config.js
file in the root directory. - Export out an object like so e.g.
{ "key": API_KEY }
whereAPI_KEY
is a string of your access key.
GET route for image search word
"/picFetch"
With two parameters: searchTerm and PageNumber
- Middle Search Bar is Functional
- Pagination works with a pre-defined range to 5
Future Updates
- Have Pagination reflect how many pages actually are available for each search
- Get the search bar in the header to be functional
- Show descriptions for each image and have them render full screen when clicked