Coder Social home page Coder Social logo

catimagefetcher's Introduction

Cat Gallery

A web application that displays images of cats. This application is created using [gettyimages API] (http://api.gettyimages.com/). Infinite scrolling is implemented using [ngInfiniteScroll] (https://sroze.github.io/ngInfiniteScroll/) directive.

Application setup:

First, you need to clone this repository using:

git clone https://github.com/mayank-ism/catImageFetcher.git

on your terminal. Alternatively, you can also download the source code in the zip format and then unzip it.

Then, you can go to the project directory. You will find files like app.js and package.json in it, along with bunch of other files and folders. Here, you run the following command:

npm install

You need to have npm installed beforehand. On executing this command, npm will install all the dependencies for you.

Now your application is setup!

API keys:

In config/config.js.sample file, you can see that exports.apiKey, exports.newrelic.key and exports.sentryDsn are set to empty string.

You need to replace these with credentials of your account.

Then, rename you config.js.sample file to config.js.

Starting the application:

Run the command:

npm start

on your terminal. The application has started.

Visit http://127.0.0.1:8080/ to see the gallery of cats!

Live on: http://ec2-52-66-88-135.ap-south-1.compute.amazonaws.com:8080/

catimagefetcher's People

Contributors

mayank-ism avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.