Skip to content

Updates to the .env.example file for better configuration clarity and fixes to asset imports in src/App.jsx to resolve path issues #4

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

sheikh-mohammad-rakib
Copy link

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to appwrite here: https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md

Happy contributing!

-->

What does this PR do?

This pull request includes updates to the .env.example file for better configuration clarity and fixes to asset imports in src/App.jsx to resolve path issues. Below are the key changes grouped by theme:

Configuration Updates:

  • Updated .env.example to include example values for VITE_APPWRITE_PROJECT_ID and VITE_APPWRITE_ENDPOINT, making it easier for developers to set up their environment. Removed the placeholder entry for VITE_APPWRITE_PROJECT_NAME, which appears unused.

Asset Import Fixes:

  • Fixed the import paths for AppwriteSvg and ReactSvg in src/App.jsx by changing them to absolute paths (/src/...) to resolve potential issues with relative paths.<!--
    Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

No

Have you read the Contributing Guidelines on issues?

Yes

Updates versions of various dependencies, including Babel-related packages, esbuild, rollup, and others, in the package-lock.json file.
These updates likely include bug fixes, performance improvements, and new features.
Adds the Appwrite and React logos as SVG files.

These logos can be used throughout the application to represent the
technologies used in the project.
Populates the `.env.example` file with example values for the Appwrite project ID and endpoint.

This provides users with a clearer starting point for configuring their Appwrite integration.
Updates the image paths to be relative to the root directory.
This ensures that the images are correctly loaded after deployment
to a web server.
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.

1 participant