-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB? #3
Comments
DB folder contain a file call connectDB that export a method for connecting with mongodb, You need to call It on every API hit |
Your github page states:
* Admin Dashboard is only accessible to you if you clone it you can't Signup for Admin Account I have added dummy Product and categories
So my assumption is that you have a mongodb export or such to populate a newly created database, that is what I can’t find.
…-Mike
From: Abdullah moiz ***@***.***>
Sent: Thursday, August 10, 2023 1:17 AM
To: Abdullah-moiz/nextjs-ecommerce ***@***.***>
Cc: mike trssolutions.net ***@***.***>; Author ***@***.***>
Subject: Re: [Abdullah-moiz/nextjs-ecommerce] DB? (Issue #3)
DB folder contain a file call connectDB that export a method for connecting with mongodb, You need to call It on every API hit
—
Reply to this email directly, view it on GitHub<#3 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB4TLHQ2WVHNKYGCB5IOWTDXURVDJANCNFSM6AAAAAA3KRPXSE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Could you please share a dumb of your mongo db? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have created a mongodb but not sure how the data is loaded, can't find anything to import or populate the new database with
The text was updated successfully, but these errors were encountered: