A React application for cataloging gadgets
Built with:
- React
- Redux
- Redux Form
- Express
- MongoDB
- Draft.js
- Semantic-UI-React
- Cloudinary
- Passport
- Webpack
- Jasmine
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'
}
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'
}
}
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
$ cd /path/to/root
$ npm test
$ cd /path/to/root
$ npm run coverage
The MIT License Copyright © 2017 Shibbir Ahmed