Skip to content

Conversation

bored-arvi
Copy link

@bored-arvi bored-arvi commented Aug 22, 2025

Closes: #1189

Describe the add-ons or changes you've made 📃

Screenshots 📷

Type of change ☑️

What sort of change have you made:

  • Documentation update

Note to reviewers 📄

This PR adds documentation for running the project locally in two modes:

Full Local Development — run both backend and frontend on your machine (requires local MongoDB).

Frontend Only — run only the frontend while pointing to the deployed backend (https://pjt-blog.onrender.com).

Key points for reviewers:

Both setups are pre-configured in .env.example.

Developers just need to uncomment the relevant section and copy it to .env.

Common pitfalls (e.g., missing MongoDB, wrong VITE_SERVER_DOMAIN) are documented.

No changes were made to code logic — only documentation for smoother onboarding.

Copy link

netlify bot commented Aug 22, 2025

Deploy Preview for code-a2z ready!

Name Link
🔨 Latest commit 6a01000
🔍 Latest deploy log https://app.netlify.com/projects/code-a2z/deploys/68ad931b30016d000824b4b2
😎 Deploy Preview https://deploy-preview-1202--code-a2z.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

@Avdhesh-Varshney
Copy link
Member

Avdhesh-Varshney commented Aug 22, 2025

@bored-arvi pjt-blog is older URL.
New url is https://code-a2z.onrender.com

Rest I'll review when ready to review 👍

Changed the Vite Server Domain
Copy link

vercel bot commented Aug 22, 2025

@bored-arvi is attempting to deploy a commit to the avdheshvarshney's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Avdhesh-Varshney
Copy link
Member

@bored-arvi Update your branch & complete it

Copy link
Author

@bored-arvi bored-arvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating it

@bored-arvi bored-arvi marked this pull request as ready for review August 26, 2025 10:57
@Avdhesh-Varshney
Copy link
Member

@bored-arvi Is it complete or still left any work?
And have you able to run the project with these guidelines locally with local server or without local server?

@bored-arvi
Copy link
Author

bored-arvi commented Aug 27, 2025

Both options running with a local MongoDB and backend, as well as running the frontend connected to the deployed backend are working perfectly.

All work has been completed. Please let me know if you’d like me to add or refine anything further.

@Avdhesh-Varshney
Copy link
Member

Both options running with a local MongoDB and backend, as well as running the frontend connected to the deployed backend are working perfectly.

All work has been completed. Please let me know if you’d like me to add or refine anything further.

Are you sure? Could you share with both running up video preview?

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

Successfully merging this pull request may close these issues.

Missing Instructions and Defaults for .env Setup Causing Setup Failures
2 participants