Simple web application that reads data from Flickr's public feeds and displays the images on the page to the user.
2.Demo
5.Setup
This is an full stack application that can be used to load the public feed images of the API as a grid view and also to search images which returns from the API by giving a keyword.
Flickr API has used as the 3rd party API.
-
Reads the Flickr's public feed Public Feed URL : "https://api.flickr.com/services/feeds/photos_public.gne?format=json&nojsoncallback=1"
-
Search images Search URL: "https://www.flickr.com/services/rest/?method=flickr.photos.search&api_key="+apikey+"&tags="+value+"&format=json&nojsoncallback=1"
-
Frontend - Reactjs
-
Backend - Nodejs/Expressjs [v10.16.3]
-
API Testing - Jest and Supertest
-
/api/photos : load the public feed images
-
/api/search/[tag] : returns the images which is match with the relevant tag.
$ cd backend
$ npm install
$ npm install -g nodemon
$ nodemon server
$ npm install
$ npm start
$ cd backend
$ npm install --save-dev jest
$ npm run test