Hello I tried to test your product in local. I installed mongodb and node. I read your document and found below: Open Back-End\database.js file and change value to mongodb as below: var db = monk('url to access mongodb'); and database.js return 'localhost:27017/expressshoppingcart'; I could not know how to process this instruction.
Hello, Please see my video demo how to install my codes at http://octopuscodes.com/document/angular-2-shopping-cart-angular-2-nodejs-mongoDB-PayPal-Payment/installation_instructions/install_application.html Regards, Kevin
I see the video
I receive this error. I need your help. Error: Failed to lookup view "error" in views directory "E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\views" at EventEmitter.render (E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\application.js:579:17) at ServerResponse.render (E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\response.js:960:7) at E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\app.js:84:7 at Layer.handle_error (E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\router\layer.js:71:5) at trim_prefix (E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\router\index.js:310:13) at E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\router\index.js:280:7 at Function.process_params (E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\router\index.js:330:12) at next (E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\router\index.js:271:10) at E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\app.js:73:3 at Layer.handle [as handle_request] (E:\WORK\workspace\ShoppingSite\1.EMH\Back-End\node_modules\express\lib\router\layer.js:95:5)
Hello, Do you resolve this problem with my code? Regards, Kevin
Nice work, Good luck with sell :)
Thanks you very much
Hello, I just installed angular2 shopping chart and I'm having some trouble getting it running. I installed the mongo db, imported the date adjusted the database.js file and run node when I access the server i get: Error: Failed to lookup view "error" in views directory "E:\Code\nodejs\angexpress\shopping-cart-angular-2-express-mongodb-paypal-payment\Source Code\Back-End\views" at EventEmitter.render (E:\Code\nodejs\angexpress\shopping-cart-angular-2-express-mongodb-paypal-payment\Source Code\Back-End\node_modules\express\lib\application.js:579:17) there is no error in the view directory. Can you please help?
Hello, Thanks for buying my codes. Please check my video for installation at http://octopuscodes.com/document/angular-2-shopping-cart-angular-2-nodejs-mongoDB-PayPal-Payment/installation_instructions/install_application.html Regards, Kevin
Hello Kevin I followed very carefully the instructions and got past the error above. The problem was navigating to http://localhost:3000 and I have to navigate to: http://localhost:3000/admin Also the instructions for setting the access token are too brief and are not clear. At last I was able to figure it. I have to navigate to settings in the backend generate an access key and copy it to rest.service.js Finally it's also not clear the step for installing live-server You really should update the instructions and clarify these points. I see other people above had the same problem. I hope this helps othes as well.
Hello, Thanks you very much. Can you generate new api key from admin panel? After you create new key, you can copy to rest.service.js and run client. Regards, Kevin
very nice work :) all the best for your sales !
Thanks you very much
I am unable to open the zip file located under "Angular 2 Shopping Cart - Angular 2 & Nodejs & Express Framework & MongoDB & PayPal Payment". It says that the compress folder is invalid.
Please download again to make sure you download complete file.
I was able to open it with 7-zip. Still have issues with the regular .zip in windows.
I used 7-zip to create zip file
if i buy this version, can i have full code this project or just product application. I want to use code to learn. Tks bro.
You will get full source code and database after you buy
ok tks bro, i will buy as soon as possible. i like this demo
Very nice work, big sales to you :)
Thanks you very much
Hello when i run back end server in localhost i get the following error please help. Error: Failed to lookup view "error" in views directory "C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-Endviews/admin" at EventEmitter.render (C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\application.js:579:17) at ServerResponse.render (C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\response.js:960:7) at C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\app.js:88:7 at Layer.handle_error (C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\router\layer.js:71:5) at trim_prefix (C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\router\index.js:310:13) at C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\router\index.js:280:7 at Function.process_params (C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\router\index.js:330:12) at next (C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\router\index.js:271:10) at C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\app.js:77:3 at Layer.handle [as handle_request] (C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-End\node_modules\express\lib\router\layer.js:95:5)
Please let me know how to you run server?
I am a windows user , I go to the main directory files of back end in CMD, then i apply npm start , also tried npm update and node app.js, node api.js
You need change connect to your database name in database.js
No, I've checked database is fine. I run mongodb server from another console also the connection string is fine in database.js
My code need only change database name and can run. Please check my document for installation
Yes i followed the same procedure sir. But on localhost:3000 i got the following error. Some error file is missing in views folder it says.
Error show: Failed to lookup view “error” in views directory “C:\Users\Mubashir Tahirrrrr\Downloads\Compressed\Main\Source Code\Back-Endviews/admin please make sure you have admin folder in view
Yes admin folder is there in views sir. Still this error is showing.
Help sir please?? Its been a 2nd day i didn't find any support from you.
Do you install live-server for your nodejs?
You can see how to install here https://www.google.com.vn/search?q=live+server+install+node&oq=live+server+install+node&aqs=chrome..69i57.11320j0j7&sourceid=chrome&ie=UTF-8
No i am running it on local host... Tell me how to install live- server Which hosting should i used? I don't have any hosting yet.
I mean you need run live-server module to run on localhost
I've installed live-server node module. Still getting the same error. sir
Please help sir
Very Poor Code,Even it is not use for at least learning. Instead of buy ,We can get free good scripts from Github
Please explain why you said my code is very poor.
Can you give me link that you can get free my code?
I am telling many Github script is proper comparing to yours. all available free of cost. even , as your paid code is poor compare to others. Where is your live Demo? it is help to other can see real time Experiance, 1) No authorisation (No Token Based Authorisation) - No Security this.http.get(this.restService.baseURLKey('order', 'findByUsername/' + username)).map((res:Response) => res.json()); above , if any one knows username , then easily can get order details with out Login * Token Should be user based not a static 2) No Error Handling 3) Project Folder structure very basic. it should not help for develop a productions or customers i will give more list by tomorrow
Thanks for your comments. Let me explain for your comments 1. You can see rest.services.ts in services folder in front-end project. I'm using token is created from back-end project. You can login to admin panel in back-end project and open setting menu to see generate new apu key 2. I made error handling with validate. I don't use try catch to do. 3. My code is using with express Framework for back-end and components for angular 2 in front-end. I think It's good for developing a productions Regards, Kevin
You can see demo from my video in item description for more detail
Please help me by remove your feedback and rating. Thanks you