moelashmawy / inventory-application Goto Github PK
View Code? Open in Web Editor NEWShopping app using MERN stack
Shopping app using MERN stack
POST /api/product/create 500 18.488 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 2.054 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 0.533 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 0.470 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 0.436 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 0.454 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 0.467 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 0.495 ms - 2
GET /__get-internal-source?fileName=webpack-internal%3A%2F%2F%2F.%2Fsrc%2FCoverflow.js 404 0.405 ms - 2
POST /api/product/create 500 8.750 ms - 2
same in this also while adding prouduct
I am new to this development. I am tried to run your application during that time i got below error. please help what is the issue and how to resolve it?
D:\inventory-application\node_modules\mongoose\lib\connection.js:579
[0] throw new MongooseError('The uri
parameter to openUri()
must be a ' +
[0] ^
[0] Error [MongooseError]: The uri
parameter to openUri()
must be a string, got "undefined". Make sure the first parameter to mongoose.connect()
or mongoose.createConnection()
is a string.
[0] at new MongooseError (D:\inventory-application\node_modules\mongoose\lib\error\mongooseError.js:10:11)
[0] at NativeConnection.Connection.openUri (D:\inventory-application\node_modules\mongoose\lib\connection.js:579:11)
[0] at Mongoose.connect (D:\inventory-application\node_modules\mongoose\lib\index.js:333:15)
[0] at Object. (D:\inventory-application\server.js:35:10)
[0] at Module._compile (internal/modules/cjs/loader.js:1137:30)
[0] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
[0] at Module.load (internal/modules/cjs/loader.js:985:32)
[0] at Function.Module._load (internal/modules/cjs/loader.js:878:14)
[0] at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
[0] at internal/main/run_main_module.js:17:47
hi,project is awesome but i cannot find admin and seller dashboard though i updated values in mongo atlas.
should the admin be both customer and admin or only admin:true is enough
You have made product category filed as 'select' because of which I am to able to add category to my product at the time of creating the new product. Please help with this.! @moelashmawy
I think we can change all callbacks, by async/await promise of es6
Hi, I just cloned your project but the all the npm missing after npm install for views folder. Can you help me to figure out what's has gone wrong. Thank you so much :)))
├── UNMET DEPENDENCY @fortawesome/fontawesome-svg-core@^1.2.28
├── UNMET DEPENDENCY @fortawesome/free-solid-svg-icons@^5.13.0
├── UNMET DEPENDENCY @fortawesome/react-fontawesome@^0.1.9
├── UNMET DEPENDENCY @material-ui/core@^4.11.0
├── UNMET DEPENDENCY @material-ui/lab@^4.0.0-alpha.56
├── UNMET DEPENDENCY @testing-library/jest-dom@^4.2.4
├── UNMET DEPENDENCY @testing-library/react@^9.5.0
├── UNMET DEPENDENCY @testing-library/user-event@^7.2.1
├── UNMET DEPENDENCY @types/react-redux@^7.1.9
├── UNMET DEPENDENCY @types/react-router-dom@^5.1.5
├── UNMET DEPENDENCY axios@^0.21.1
├── UNMET DEPENDENCY bootstrap@^4.5.0
├── UNMET DEPENDENCY font-awesome@^4.7.0
├── UNMET DEPENDENCY formik@^2.1.4
├── UNMET DEPENDENCY node-sass@^4.14.1
├── UNMET DEPENDENCY pure-react-carousel@^1.27.1
├── UNMET DEPENDENCY react-bootstrap@^1.0.1
├── UNMET DEPENDENCY react-coverflow@^0.2.20
├── UNMET DEPENDENCY react-dom@^16.13.1
├── UNMET DEPENDENCY react-loader-spinner@^3.1.14
├── UNMET DEPENDENCY react-redux@^7.2.0
├── UNMET DEPENDENCY react-router-dom@^5.2.0
├── UNMET DEPENDENCY react-router@^5.2.0
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-slick@^0.26.1
├── UNMET DEPENDENCY react-toastify@^6.0.5
├── UNMET DEPENDENCY react@^16.13.1
├── UNMET DEPENDENCY redux-thunk@^2.3.0
├── UNMET DEPENDENCY redux@^4.0.5
├── UNMET DEPENDENCY slick-carousel@^1.8.1
└── UNMET DEPENDENCY yup@^0.29.1
npm ERR! code ELSPROBLEMS
npm ERR! missing: @fortawesome/fontawesome-svg-core@^1.2.28, required by [email protected]
npm ERR! missing: @fortawesome/free-solid-svg-icons@^5.13.0, required by [email protected]
npm ERR! missing: @fortawesome/react-fontawesome@^0.1.9, required by [email protected]
npm ERR! missing: @material-ui/core@^4.11.0, required by [email protected]
npm ERR! missing: @material-ui/lab@^4.0.0-alpha.56, required by [email protected]
npm ERR! missing: @testing-library/jest-dom@^4.2.4, required by [email protected]
npm ERR! missing: @testing-library/react@^9.5.0, required by [email protected]
npm ERR! missing: @testing-library/user-event@^7.2.1, required by [email protected]
npm ERR! missing: @types/react-redux@^7.1.9, required by [email protected]
npm ERR! missing: @types/react-router-dom@^5.1.5, required by [email protected]
npm ERR! missing: axios@^0.21.1, required by [email protected]
npm ERR! missing: bootstrap@^4.5.0, required by [email protected]
npm ERR! missing: font-awesome@^4.7.0, required by [email protected]
npm ERR! missing: formik@^2.1.4, required by [email protected]
npm ERR! missing: node-sass@^4.14.1, required by [email protected]
npm ERR! missing: pure-react-carousel@^1.27.1, required by [email protected]
npm ERR! missing: react-bootstrap@^1.0.1, required by [email protected]
npm ERR! missing: react-coverflow@^0.2.20, required by [email protected]
npm ERR! missing: react-dom@^16.13.1, required by [email protected]
npm ERR! missing: react-loader-spinner@^3.1.14, required by [email protected]
npm ERR! missing: react-redux@^7.2.0, required by [email protected]
npm ERR! missing: react-router-dom@^5.2.0, required by [email protected]
npm ERR! missing: react-router@^5.2.0, required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: react-slick@^0.26.1, required by [email protected]
npm ERR! missing: react-toastify@^6.0.5, required by [email protected]
npm ERR! missing: react@^16.13.1, required by [email protected]
npm ERR! missing: redux-thunk@^2.3.0, required by [email protected]
npm ERR! missing: redux@^4.0.5, required by [email protected]
npm ERR! missing: slick-carousel@^1.8.1, required by [email protected]
npm ERR! missing: yup@^0.29.1, required by [email protected]
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.