To run this application, you need to set up your Appwrite configuration. Create a .env file in the root of your project with the following variables:
# Appwrite Configuration
VITE_APPWRITE_PROJECT_ID=your_project_id_here
VITE_APPWRITE_URL=https://cloud.appwrite.io/v1
VITE_APPWRITE_DATABASE_ID=your_database_id_here
VITE_APPWRITE_COLLECTION_ID=your_collection_id_here
VITE_APPWRITE_BUCKET_ID=your_bucket_id_here- Go to Appwrite Console
- Create a new project or select an existing one
- Go to Settings > API Keys
- Create a new API key with the necessary permissions
- Copy your Project ID and API Endpoint
- Install dependencies:
npm install - Set up your
.envfile with the credentials above - Run the development server:
npm run dev
The application will now run without crashing even if Appwrite credentials are missing. You'll see warning messages in the console, but the app will still load and display properly.
To enable full functionality, make sure to:
- Set up your
.envfile with proper Appwrite credentials - Restart the development server after adding the environment variables