mern-ecommerce
mern-ecommerce copied to clipboard
Access to the admin page
after runnig this npm run seed:db [emai-emailexample.com] [password-passwordexample.com], when i want to login to my count i stay on the same page like if the login button doesn't work.
Check the console for error.
it is trying to find the host on localhost:8080 because in .env.example file CLIENT_URL is setup in that way. there you can change the port to 3000 and it will resolve your issue
@hasannasrul do you have dummy data for the categories , products , brands , i have added products and categories but its not fetching , but for admin its showing products in dashboard