Skip to content
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

Server running on PORT undefined... #30

Open
Mr-Sharma01 opened this issue May 5, 2023 · 2 comments
Open

Server running on PORT undefined... #30

Mr-Sharma01 opened this issue May 5, 2023 · 2 comments

Comments

@Mr-Sharma01
Copy link

Mr-Sharma01 commented May 5, 2023

ola la la la leooo

@sam1am
Copy link

sam1am commented May 8, 2023

You have to make a .env file with the following fields:

PORT=5001
MONGO_URI=mongodb://localhost:27017

That's assuming you have mongodb running locally.

@Solanki-Jignesh
Copy link

move your .env file to the root directory of project
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants