This is very basic examples how to communicate node server to flickr server and fetech all the tagged image from here Ui is build using angularjs and bootstrap . its just awesome for the begginer. for more detail how to run client and server please follow the below setup
Prerequesitices :
-
one server it could be node, python, iis, tomcat or apache
-
if u wanted to run server also in client machine then need to install a) GIT Bash (MINGW) b) install all the below node moduel 3) run the server u can get the details in server configuration
-
Client
- navigate to client folder
- in the current app if you server is not ready and u wanted to serve data from locatl then change boolean varaibe stabbed to true and update the locatl host port number in the same in URLService.js
- start locatl server
Note: if you are running any expernal server means from cloud or some where else that path we have to update in the URLService self.hostName
-
Server
-
install node-modules (install node modules from : https://www.npmjs.com/) a) cros b) flickrapi c) express d) mongodb e) mongoose
-
now start node server (if u r using ubuntu then write nodejs inplace of node)
- navigate to serve folder
- node app.js
Note: by default node server is running port no : 8888