shaishab / gadget-catalog

A react application for cataloging gadgets

Home Page:https://gadget-catalog-io.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gadget-Catalog

A React application for cataloging gadgets

Build Status Coverage Status Dependency Status License

Built with:

Setup Cloudinary

This application requires Cloudinary, which is a Software-as-a-Service (SaaS) solution for managing media assets in the cloud.

Edit the environment files to configure Cloudinary. You can find your configuration parameters in the cloudinary Management Console.

  • For development: /server/config/env/development.js
  • For production: /server/config/env/production.js
cloudinary: {
    cloud_name: 'your_cloudinary_name',
    api_key: 'your_cloudinary_api_key',
    api_secret: 'your_cloudinary_api_secret'
}

Setup OAuth

Edit the environment files to configure OAuth.

  • For development: /server/config/env/development.js
  • For production: /server/config/env/production.js
tokenSecret: 'application_secret_token',
oauth: {
    facebook: {
        clientID: 'facebook_client_id',
        clientSecret: 'facebook_client_secret'
    },
    google: {
        clientID: 'google_client_id',
        clientSecret: 'google_client_secret'
    }
}

Installation

You need to have latest version of Node.js installed on your machine before running the followings:

$ cd /path/to/root
$ npm install

or if you want to use yarn
$ yarn install

## for development preview
$ npm start

## for production preview
$ npm run production

Running Unit Tests

$ cd /path/to/root
$ npm test

Code Coverage

$ cd /path/to/root
$ npm run coverage

License

The MIT License Copyright © 2017 Shibbir Ahmed

About

A react application for cataloging gadgets

https://gadget-catalog-io.herokuapp.com

License:MIT License


Languages

Language:JavaScript 98.2%Language:CSS 1.1%Language:HTML 0.7%