ashraf-kabir / mern-ecommerce Goto Github PK
View Code? Open in Web Editor NEWMERN Stack ecommerce site
Home Page: https://ecommerce-ak.herokuapp.com/
License: MIT License
MERN Stack ecommerce site
Home Page: https://ecommerce-ak.herokuapp.com/
License: MIT License
Admin role is not accessible
How do I add products to the site?
Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
the website of your project is offline
https://ecommerce-ak.herokuapp.com/
hey how can i add new products and render them.
/create/product
not working..
REACT_APP_API_URL=YOUR_API_URL
i'm stuck
what should i put here ?
Bro, how to access admin role. Unable to understand to access it, even i seen ur previous issues about it. After signin i seen i had login like user but not admin.. If i check in mongodb, it shows role as 0
Hey @ashraf-kabir
Your project is very interesting.It would be better if you handle all of your errors centrally.This reduces the ambiguity in the development when the project grows larger.
It gives the following error:
[email protected] dev
concurrently "npm run server" "npm run client"
[0]
[0] > [email protected] server
[0] > nodemon server.js
[0]
[1]
[1] > [email protected] client
[1] > npm start --prefix client
[1]
[0] [nodemon] 2.0.22
[0] [nodemon] to restart at any time, enter rs
[0] [nodemon] watching path(s): .
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting node server.js
[0] Server is running on port 3000
[0] 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] [nodemon] app crashed - waiting for file changes before starting...
[1]
[1] > [email protected] start
[1] > react-scripts start
[1]
[1] Something is already running on port 3000.
[1] npm run client exited with code 0
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.