Check out the documentation here.
View the demo shop here.
A fully functioning Node.js shopping cart with Stripe, PayPal, Authorize.net, PayWay, Blockonomics, Adyen, Zip and Instore payments.
Home Page: https://expresscart-demo.markmoffat.com
License: MIT License
I don't get after installation your project like your demo given in this repository.
What should I change? Please suggest me.
Hi,
First thanks for your expresscart.
I have downloaded your code.
Run in the localhost and I like it.
Now I want to create subcategory and add products in that subcategory.
How can I do that?
Thanks in Advance.
Hello !
I would like to say thank you before for this amazing project you continue !
I clone it in my e-shop website and love it!
The thing is i have just one problem when i return from paypal payment...
For example : http://37.59.114.124:1111/paypal/checkout_return?paymentId=PAY-2CM40515TR809324GLJS5Q4Y&token=EC-5MV39533W1626622J&PayerID=PJA74ZE4F57EU
Have you got an idea why ?
I try to have a look on the payments JS folder, but i don't succeed to understand ...
Thank you really much!
F.
hi , I was checking add product feature in admin dashboard, I noticed there is no quantity field and I thought It would be nicer if we manage stock and if product is out of stock , we can put a label on product. so that user can know before hand. I can do some PR if needed.
Hey, first I would like to thank you for the great and beautiful code you built.
I just wanted you to know that when I updated the theme to "Material" it cannot start the app again and the error is "settings.json incorrect: data should NOT have additional properties".
In addition, most of the POST calls return a JSON file instead of AJAX elegant response.
Changing the "settings.json" back to the original fields fix it.
Besides, everything has worked for me in the meantime.
Thank you
I am getting following error while $npm install
npm WARN engine [email protected]: wanted: {"node":"^8.10.0 || ^10.13.0 || >=11.10.1"} (current: {"node":"0.10.30","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=8.9.4 <9 || >=10.0.0 <11 || >=12.0.0"} (current: {"node":"0.10.30","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=6.0.0"} (current: {"node":"0.10.30","npm":"1.4.21"})
> [email protected] postinstall /home/asanjaymanka/projects/javascriptProjects/repoProjects/expressCart/node_modules/node-cron
> opencollective-postinstall
\
/home/asanjaymanka/projects/javascriptProjects/repoProjects/expressCart/node_modules/node-cron/node_modules/opencollective-postinstall/index.js:14
console.log(`\u001b[96m\u001b[1mThank you for using ${pkg.name}!\u001b[96m
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
npm ERR! Error: Method Not Allowed
npm ERR! at errorResponse (/usr/local/lib/node_modules/npm/lib/cache/add-named.js:260:10)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache/add-named.js:203:12
npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.10.0-693.el7.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/asanjaymanka/projects/javascriptProjects/repoProjects/expressCart
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm WARN engine [email protected]: wanted: {"node":">=10.0.0"} (current: {"node":"0.10.30","npm":"1.4.21"})
After configuring product options, they don't appear correctly. No radio buttons or check boxes.
Also no way to add pricing for the options on a base product.
when remove product options throws system error
cannot edit the product options ?
Python version : 3.6.3 available
D:\workspace\learning\task\js\expressCart\node_modules\fibers>if not defined npm_config_node_gyp (node "C:\Users\Arjun\AppData\Roaming\npm\node_module
s\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild --release ) else (node "C:\Users\Arjun\AppData\Ro
aming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --release )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\Arjun.windows-build-tools\python27\python.exe", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\Arjun\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (C:\Users\Arjun\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Users\Arjun\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:170:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Arjun\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-
gyp.js" "rebuild" "--release"
gyp ERR! cwd D:\workspace\learning\task\js\expressCart\node_modules\fibers
gyp ERR! node -v v9.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: sudo apt-get install g++ build-essential
Alpine users please run: sudo apk add python make g++
'nodejs' is not recognized as an internal or external command,
operable program or batch file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","ar
ch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node build.js || nodejs build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Arjun\AppData\Roaming\npm-cache_logs\2018-05-26T12_45_29_607Z-debug.log
Add to layout.hbs
{{#if title}} <title>{{title}}</title> {{else}} <title>{{config.cartTitle}}</title> {{/if}}
After deployment I'm getting issues on static files (public folder -> JavaScript's and CSS ) are not loaded, I tried many deployments and pointed properly on static files during deployment , unluckily I'm not getting that , but it works well on localhost . Any suggestions ?
What's the status for moving the admin panel to a SPA website?
Hi Guys,
In your example demo, I can set the item quantity to be a negative amount. Just something I came across. Let me know if you need a PR.
in the admin panel
just save the settings as the script crashes and no longer starts until you restore the default file
settings.json incorrect: data should NOT have additional properties
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: node app.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\34\AppData\Roaming\npm-cache_logs\2018-10-11T22_53_12_748Z-debug.log
these lines break everything in the original file
"env": ".min",
"themeViews": "../views/themes/Cloth/"
When in the admin page if you click upload image for a product and select your image, there is no prompt to let you know when the file is done uploading. If you click upload before the file is done uploading it will crash the app
https://demo.expresscart.markmoffat.com/ says server IP address could not be found
.
I create menu link http://127.0.0.1:1111/category/shoes
The first I clicked the link, the browser shows url http://127.0.0.1:1111/category/shoes (ok)
the second I clicked the link, the browser shows http://127.0.0.1:1111/category/category/shoes (error)
the third I clicked the link, the browser shows http://127.0.0.1:1111/category/category/category/shoes (error)
Starting expresscart-mongodb ... done
Recreating expresscart ... error
ERROR: for expresscart no such image: sha256:1b0d52709e309e9384b7f40c07a2c65edce0b22bf7e4fda79728be769888c2d4: No such image: sha256:1b0d52709e309e9384b7f40c07a2c65edce0b22bf7e4fda79728be769888c2d4
ERROR: for expresscart no such image: sha256:1b0d52709e309e9384b7f40c07a2c65edce0b22bf7e4fda79728be769888c2d4: No such image: sha256:1b0d52709e309e9384b7f40c07a2c65edce0b22bf7e4fda79728be769888c2d4
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Continue with the new image? [yN] y
....
....
expresscart-mongodb is up-to-date
Recreating bd9bb97161bc_expresscart ... done
Attaching to expresscart-mongodb, expresscart
expresscart |
expresscart | > [email protected] start /var/expressCart
expresscart | > node app.js
expresscart |
expresscart | module.js:675
expresscart | throw err;
expresscart | ^
expresscart |
expresscart | SyntaxError: /var/expressCart/config/settings.json: Unexpected string in JSON at position 829
expresscart | at JSON.parse ()
expresscart | at Object.Module._extensions..json (module.js:672:27)
expresscart | at Module.load (module.js:566:32)
expresscart | at tryModuleLoad (module.js:506:12)
expresscart | at Function.Module._load (module.js:498:3)
expresscart | at Module.require (module.js:597:17)
expresscart | at require (internal/module.js:11:18)
expresscart | at Object. (/var/expressCart/app.js:21:65)
expresscart | at Module._compile (module.js:653:30)
expresscart | at Object.Module._extensions..js (module.js:664:10)
expresscart | npm ERR! code ELIFECYCLE
expresscart | npm ERR! errno 1
expresscart | npm ERR! [email protected] start: node app.js
expresscart | npm ERR! Exit status 1
expresscart | npm ERR!
expresscart | npm ERR! Failed at the [email protected] start script.
expresscart | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
expresscart |
expresscart | npm ERR! A complete log of this run can be found in:
expresscart | npm ERR! /root/.npm/_logs/2018-11-03T19_34_06_469Z-debug.log
expresscart exited with code 1
Selecting "y", the expresscart app fails within both OSX and docker environments.
Thanks,
Michael
I'm trying to purpose expressCart for online ordering platform for my restaurant (pickup/delivery), because the available commercial options lack flexibility. The main difference between retail and food is optionality. For example, if I order a hamburger, I might want to add cheese and bacon, both of which the restaurant would charge extra for. This may also be useful for retail if an option might increase the price.
The checkbox/radiobox concept works well here, because the options might be able to be combined, like in the hamburger example above, or they may be a single choice, like the size.
Customers might also want to attach free-form comments to each item ordered, such as "No Ice please", or "Sauce on the side".
Lastly, they may also want to add order level comments, like "Please call when you arrive".
Lastly, thanks for creating expressCart ... it's really well thought out, and very useful to many.
Hey, I'm new with express.js, maybe it's obvious, but I cannot locate the '/' route. I already googled, but there's nothing in stackoverflow.
Sporadically stripe payment fails with message" your payment declined".
Both secret key and public key are test keys, with card number as 4242 4242 4242 4242.
Out of context, does expresscart supports
P.S. recently embarked in backend programming :)
I added a product with 2 in stock and I was able to add 2 at a time to the cart with no issues.
After pressing add to cart button, if you press the back button on your browser item will no longer be in your cart and again if you press forward button it will appear. Instead, it will be such that item added to cart should be in your cart till you manually remove it. Let me know if I should submit PR for the same.
F:\practice_node\expressCart\lib\common.js:685
exports.testData = async (app) => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (F:\practice_node\expressCart\app.js:13:16)
npm ER
This project is amazing. I was wondering if you'd be willing to extend the functionality to include a Subscription bases E-Commerce store. Where users can subscribe to a recurring product. E.g food-subscription-boxes. Which can be either weekly, monthly, etc.
Hi, I would recommend to have gzip compression seems that you got extra score from Page Speed from Google and the comparison tests reduced the page load.
There is no server side checking or validation of number in qty field while adding item to cart.Or it doesn't even check the inventory for availability as well. User can edit maxlength from inspector console and can put any number without validation
Hi mrvautin....I happen to have your previous model of the express cart and I run through the error where I can't create a new admin user...any help would be appreciated.
https://Mtush254.herokuapp.com
When I log in to the admin page, I see the authorization page. How to go to admin panel? Can I create my account?
Are there plans for multi vendor shops?
If you need help with that, I can help out.
Hi,
I just setup a server with mongodb and expressCart, but each time i try to save a product the application crash which the following error
TypeError: common.indexProducts is not a function
at db.products.update (/home/webmaster/expressCart/routes/product.js:256:36)
at handleCallback (/home/webmaster/expressCart/node_modules/mongodb/lib/utils.js:96:12)
at /home/webmaster/expressCart/node_modules/mongodb/lib/collection.js:1016:5
at /home/webmaster/expressCart/node_modules/mongodb/node_modules/mongodb-core/lib/wireprotocol/2_4_support.js:405:9
at process._tickCallback (internal/process/next_tick.js:61:11)
Everything else works perfectly. Any idea what I messed up ?
I'm using Ubuntu 14 with the mongodb provided by Ubuntu repos and the version of expressCart is the one from today
after providing valid test email details in the settings page, test email failed to perform with below errors.
----------POST /admin/testEmail 200 3.835 ms - 29
{ Error: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials s7-v6sm10645184wrp.4 - gsmtp
at SMTPConnection._formatError (/home/kr/ext/node-basics/expressCart/node_modules/nodemailer/lib/smtp-connection/index.js:606:19)
at SMTPConnection._actionAUTHComplete (/home/kr/ext/node-basics/expressCart/node_modules/nodemailer/lib/smtp-connection/index.js:1335:34)
at SMTPConnection._responseActions.push.str (/home/kr/ext/node-basics/expressCart/node_modules/nodemailer/lib/smtp-connection/index.js:366:26)
at SMTPConnection._processResponse (/home/kr/ext/node-basics/expressCart/node_modules/nodemailer/lib/smtp-connection/index.js:762:20)
at SMTPConnection._onData (/home/kr/ext/node-basics/expressCart/node_modules/nodemailer/lib/smtp-connection/index.js:558:14)
at TLSSocket._socket.on.chunk (/home/kr/ext/node-basics/expressCart/node_modules/nodemailer/lib/smtp-connection/index.js:510:47)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at TLSSocket.Readable.push (_stream_readable.js:136:10)
code: 'EAUTH',
response: '535-5.7.8 Username and Password not accepted. Learn more at\n535 5.7.8 https://support.google.com/mail/?p=BadCredentials s7-v6sm10645184wrp.4 - gsmtp',
responseCode: 535,
command: 'AUTH PLAIN' }
After call handlebars helper variable value is null
For example cart.hbs the Pay now button doesn't show because the {{page}} variable is null after call helper ( {{#ifCond page '!=' 'pay'}} ).
Hi,
Please help me for setup expresscart project in local system and how to access database expresscart for local setup.
ExpressCart have payment using stripe but no payment using paypal.
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
ERROR: Service 'expresscart' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1
Hi.
How to add a product in a category?
Hi,
I have paypal configured as my payment gateway. When I go to check out I get an error message "The partial payments/paypal could not be found" and the following error in the log:
Error: The partial payments/paypal could not be found
at Object.invokePartial (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\runtime.js:281:11)
at Object.invokePartialWrapper [as invokePartial] (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\runtime.js:6
8:39)
at eval (eval at createFunctionContext (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\compiler\javascript-com
piler.js:254:23), :5:31)
at Object.prog [as fn] (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\runtime.js:221:12)
at Object.ifCond (D:\tmp\expressCart\app.js:187:45)
at eval (eval at createFunctionContext (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\compiler\javascript-com
piler.js:254:23), :5:92)
at Object.prog [as fn] (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\runtime.js:221:12)
at Object. (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\helpers\if.js:19:22)
at Object.eval [as main] (eval at createFunctionContext (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\compil
er\javascript-compiler.js:254:23), :14:32)
at main (D:\tmp\expressCart\node_modules\handlebars\dist\cjs\handlebars\runtime.js:175:32)
My System: Windows 8, I am using: Docker Toobox
After changing database connection string "databaseConnectionString": "mongodb://mongodb:27017/expresscart"
and executing: docker-compose up --build
Visiting http://127.0.0.1:1111 doesnt show the site
I got below in terminal and terminal hangs up (Note: mongo and expressCart container does show in the docker ) :
D:\Node project\expressCart-master\expressCart-master>docker-compose up --build
Creating network "expresscart-master_default" with the default driver
Creating volume "expresscart-master_expresscart-mongo-data" with default driver
Pulling mongodb (mongo:3.4.10)...
3.4.10: Pulling from library/mongo
c4bb02b17bb4: Pulling fs layer
3f58e3bb3be4: Pulling fs layer
c4bb02b17bb4: Pull complete
3f58e3bb3be4: Pull complete
a229fb575a6e: Pull complete
8f5ddc533743: Pull complete
5e9d2af6e206: Pull complete
8b17a0553222: Pull complete
1723351cb8b4: Pull complete
78dd8437755a: Pull complete
61012c043572: Pull complete
76aeb242d479: Pull complete
bdc8171e92f4: Pull complete
Digest: sha256:b84baeffd0f14bebaf057b36de9414ee41584a897351795f4a3889257cf19b6d
Status: Downloaded newer image for mongo:3.4.10
Building expresscart
Step 1/17 : FROM mhart/alpine-node:8
8: Pulling from mhart/alpine-node
5a3ea8efae5d: Pull complete
daa037a6151f: Pull complete
Digest: sha256:c880e941cde8af52dbd543f1c3a45b0f53b8370f906f6f469581edadf2059df9
Status: Downloaded newer image for mhart/alpine-node:8
---> b9df20fda4ef
Step 2/17 : ENV NODE_VERSION 8.9.4
---> Running in e7559ce45246
Removing intermediate container e7559ce45246
---> 996aff966848
Step 3/17 : RUN apk add --no-cache make gcc g++ python bash
---> Running in 6a4de3ad9021
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
(1/25) Installing ncurses-terminfo-base (6.0_p20171125-r1)
(2/25) Installing ncurses-terminfo (6.0_p20171125-r1)
(3/25) Installing ncurses-libs (6.0_p20171125-r1)
(4/25) Installing readline (6.3.008-r5)
(5/25) Installing bash (4.3.48-r1)
Executing bash-4.3.48-r1.post-install
(6/25) Installing binutils-libs (2.30-r1)
(7/25) Installing binutils (2.30-r1)
(8/25) Installing gmp (6.1.2-r0)
(9/25) Installing isl (0.17.1-r0)
(10/25) Installing libgomp (6.3.0-r4)
(11/25) Installing libatomic (6.3.0-r4)
(12/25) Installing pkgconf (1.3.7-r0)
(13/25) Installing mpfr3 (3.1.5-r0)
(14/25) Installing mpc1 (1.0.3-r0)
(15/25) Installing gcc (6.3.0-r4)
(16/25) Installing musl-dev (1.1.16-r15)
(17/25) Installing libc-dev (0.7.1-r0)
(18/25) Installing g++ (6.3.0-r4)
(19/25) Installing make (4.2.1-r0)
(20/25) Installing libbz2 (1.0.6-r5)
(21/25) Installing expat (2.2.0-r1)
(22/25) Installing libffi (3.2.1-r3)
(23/25) Installing gdbm (1.12-r0)
(24/25) Installing sqlite-libs (3.25.3-r0)
(25/25) Installing python2 (2.7.15-r0)
Executing busybox-1.26.2-r11.trigger
OK: 208 MiB in 40 packages
Removing intermediate container 6a4de3ad9021
---> f8b3137927c7
Step 4/17 : WORKDIR /var/expressCart
---> Running in 6ed5661066dc
Removing intermediate container 6ed5661066dc
---> 2b5cfcf0a37d
Step 5/17 : COPY lib/ /var/expressCart/lib/
---> f54b49ddff01
Step 6/17 : COPY bin/ /var/expressCart/bin/
---> 8cd111eeba01
Step 7/17 : COPY config/ /var/expressCart/config/
---> 3fc769e44a11
Step 8/17 : COPY public/ /var/expressCart/public/
---> 2c70e3fb2f42
Step 9/17 : COPY routes/ /var/expressCart/routes/
---> 2fc3ad9964cf
Step 10/17 : COPY views/ /var/expressCart/views/
---> c3ff4c74520d
Step 11/17 : COPY app.js /var/expressCart/
---> ac1f39e9a854
Step 12/17 : COPY package.json /var/expressCart/
---> d6990c64503b
Step 13/17 : COPY gulpfile.js /var/expressCart/
---> 0d913acea24d
Step 14/17 : RUN npm install
---> Running in 3dce193ad42a
npm WARN deprecated [email protected]: bcrypt-nodejs is no longer actively maintained. Please use bcrypt or bcryptjs. See https://github.com/kelektiv/node.bcrypt.js/wiki/bcrypt-vs-brypt.js to learn more about these two options
npm WARN deprecated [email protected]: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated [email protected]: Please upgrade to 2.2.19 or higher
> [email protected] install /var/expressCart/node_modules/fibers
> node build.js || nodejs build.js
make: Entering directory '/var/expressCart/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
CXX(target) Release/obj.target/fibers/src/coroutine.o
CC(target) Release/obj.target/fibers/src/libcoro/coro.o
SOLINK_MODULE(target) Release/obj.target/fibers.node
COPY Release/fibers.node
make: Leaving directory '/var/expressCart/node_modules/fibers/build'
Installed in `/var/expressCart/node_modules/fibers/bin/linux-x64-57-musl/fibers.node`
> [email protected] postinstall /var/expressCart/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> [email protected] postinstall /var/expressCart/node_modules/node-cron
> opencollective-postinstall
Thank you for using node-cron!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/node-cron/donate
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of eslint@^4.19.1 || ^5.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/glob-watcher/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1121 packages from 494 contributors and audited 8512 packages in 79.66s
found 0 vulnerabilities
Removing intermediate container 3dce193ad42a
---> f4308de707e2
Step 15/17 : VOLUME /var/expressCart/data
---> Running in ecd772a8fc8d
Removing intermediate container ecd772a8fc8d
---> 300813b670e6
Step 16/17 : EXPOSE 1111
---> Running in 94affc999a67
Removing intermediate container 94affc999a67
---> 825a066d12b8
Step 17/17 : ENTRYPOINT ["npm", "start"]
---> Running in c19b3ab92d29
Removing intermediate container c19b3ab92d29
---> 70a6d41e2c43
Successfully built 70a6d41e2c43
Successfully tagged node:8
Creating expresscart-mongodb ... done
Creating expresscart ... done
Attaching to expresscart-mongodb, expresscart
expresscart |
expresscart | > [email protected] start /var/expressCart
expresscart | > node app.js
expresscart |
expresscart | Setting up indexes..
expresscart | - Product indexing complete
expresscart | - Order indexing complete
expresscart | - Customer indexing complete
I have tried to implement cash on delivery with out disabling the other one payment gateway. Failed.
Hi There,
Where does new users register on expresscart. the only possibility I have seen is on payment page, it asks registration details if old user or fill form to create new one. but how/where do the newly registered users login to read their purchases?
while rending the page from server end the login controller is exposing all the config file that can be accessed on clients end, that information contains smtp paswwords, db url, third party api's and all the highly sesitive data that should be protected.
exports.newUser=(req, res) => {
res.render('user_new', {
title: 'User - New',
admin: req.session.isAdmin,
session: req.session,
helpers: req.handlebars.helpers,
message: common.clearSessionValue(req.session, 'message'),
messageType: common.clearSessionValue(req.session, 'messageType'),
config: req.app.config
})
}
Hi Team,
Thank you for the contribution, this is one of the amazing app I have seen so far.
But I have a problem stating the project. after npm start --production I see the below error.
**MacBook-Pro:expressCart-master $ npm start --production
[email protected] start /Users/ravik/IntelliJ/expressCart-master
node app.js
internal/modules/cjs/loader.js:584
throw err;
^
Error: Cannot find module 'expressCart-master/routes/payments/stripe'**
Hi,
I'm a member of the Node.js Security WG and we received a report regarding a security issue with this module. We tried inviting the author by e-mail but received no response so I'm opening this issue and inviting anyone with commit and npm publish rights to collaborate with us on a fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.