Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/obrien-k/node-bigcommerce-mvc
Example BigCommerce platform Model-View-Controller for Node.JS using Handlebars and Mongo.DB
https://github.com/obrien-k/node-bigcommerce-mvc
bigcommerce handlebars mongodb mongoose mvc-architecture nodejs
Last synced: 25 days ago
JSON representation
Example BigCommerce platform Model-View-Controller for Node.JS using Handlebars and Mongo.DB
- Host: GitHub
- URL: https://github.com/obrien-k/node-bigcommerce-mvc
- Owner: obrien-k
- License: mit
- Created: 2020-06-15T22:32:27.000Z (over 4 years ago)
- Default Branch: base
- Last Pushed: 2023-03-25T01:45:32.000Z (over 1 year ago)
- Last Synced: 2024-10-01T07:07:04.915Z (about 1 month ago)
- Topics: bigcommerce, handlebars, mongodb, mongoose, mvc-architecture, nodejs
- Language: JavaScript
- Homepage:
- Size: 255 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Installation
Tested with Node.js v14.20.10
# Setup
After running `npm i`, you'll need to supply credentials for a [BigCommerce](https://bigcommerce.com) store and [MongoDB](https://mongodb.com) server. This app assumes usage of dotenv and a .env file or similar. An example of what this might look like:
```
MONGO=mongodb+srv://user:pass@domain/database
BIGC_CLIENT_ID=
BIGC_ACCESS_TOKEN=
BIGC_CLIENT_SECRET=
BIGC_STORE_HASH=
PORT=
BIGC_STENCIL_TOKEN=
STORE_CANONICAL_URL=
STORE_DOMAIN=
```You should be able to run `node index.js` successfully, but when reaching the localhost:PORT your console might show errors when trying to access the database.
# Developer Branch
If you're on the dev branch, installing devDependencies also installs the node-hashtable and nan Node packages to enable use of variants in future iterations.