Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binocarlos/wholesaler
Digger based app for running online shops
https://github.com/binocarlos/wholesaler
Last synced: 11 days ago
JSON representation
Digger based app for running online shops
- Host: GitHub
- URL: https://github.com/binocarlos/wholesaler
- Owner: binocarlos
- License: mit
- Created: 2014-02-18T23:11:05.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-24T19:38:48.000Z (over 10 years ago)
- Last Synced: 2024-04-14T14:36:49.019Z (7 months ago)
- Language: JavaScript
- Size: 395 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
wholesaler
==========Digger based app for running online shops
## installation
```
$ npm install wholesaler
```## usage
```js
var wholesaler = require('wholesaler');var shop = wholesaler({
// options
})var app = shop.express();
app.listen(80, function(){
console.log('app listening on port 80');
})
```## options
the options for a new wholesaler:
* shop_name - the name of the shop
* shop_url - the base url of the shop
* admin_username - the admin panel username
* admin_password - the admin panel password
* admin_emails - the admin emails to copy purchase updates to - array or split by space, newline
* admin_email - the email address the purchase updates are sent from
* mongo_host - the mongo host, read from env if option is blank (quarry mode)
* mongo_port - the mongo port, read from env if option is blank (quarry mode)
* mongo_database - the mongo database to write to
* mailgun_key - the api key for mailgun
* mailgun_domain - the domain for mailgun
* paypal_email - the paypal shop to buy from
* paypal_link - the paypal store url to buy from (sandbox or live)
* paypal_ipn - the URL for the paypal servers to post to
* stripe_secret_key - the secret api key for stripe
* stripe_publish_key - the publish api key for stripe## license
MIT