Git Product home page Git Product logo

ecommerce-react's People

Contributors

anishmandal939 avatar dependabot[bot] avatar elibenjii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ecommerce-react's Issues

JWT issue

throw new TypeError('JwtStrategy requires a secret or key')

democollection?

How do we import democollection.json to get a preview of the store? Thanks in advance!

Issue with Resolving 'chart.js' Dependency in React-Chartjs-2 Module

I encountered an error while working on a project located at 'C:\Users\HP\Downloads\ecommerce-react-master\ecommerce-react-master\client\node_modules\react-chartjs-2\es'. The error message states: "Module not found: Can't resolve 'chart.js'". This seems to be a problem with resolving the 'chart.js' dependency within the 'react-chartjs-2' module.

Correction Needed in index.js File Path

In the index.js file, there is an incorrect file path being used to import the configuration file.
Currently, it is importing the configuration file as follows:
const config = require('../config.js');

However, it should be importing the configuration file using the proper relative path:
const config = require('./config.js');

Node api is not running

Used this code in terminal : node index.js & npm start

is running without errors.

host/api response is like :

Not Found
The requested URL was not found on this server.

Same with admin, its not running as well.

Need some help with DB setup

Hey,

I tried to import the database but had no luck so far.
Here is my config.js file

module.exports = {
  secret: 'MY SECRET',
  DB_URI_DEV: 'mongodb://localhost:27017/product',
  DB_URI: 'mongodb://localhost:27017/product',
};

and in my MongoDB, I have a DB called product and inside I have two collections:
product and admins

but when I call the product API: http://localhost:5000/api/productsdata
I always get an empty array as result, any idea why?

When attempting to install react-paypal-express-checkout version 1.0.5 via npm install, an error occurs due to peer dependency issues.

Specifically, the error message indicates :
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"~0.14.8 || ^15.5.0" from [email protected]
npm ERR! node_modules/react-paypal-express-checkout
npm ERR! react-paypal-express-checkout@"^1.0.5" from the root project

Possible Solution:
Instead of directly using npm install, it is recommended to use npm install react-paypal-express-checkout --legacy-peer-deps. This bypasses the peer dependency check and allows the package to be installed successfully.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.