mern-ecommerce icon indicating copy to clipboard operation
mern-ecommerce copied to clipboard

Access to the admin page

Open YassineFarih20 opened this issue 1 year ago • 2 comments

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.

YassineFarih20 avatar Sep 28 '23 10:09 YassineFarih20

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 avatar Oct 04 '23 16:10 hasannasrul

@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

buddhathemanoj avatar Jan 26 '24 04:01 buddhathemanoj