Skip to content

BUG: Unable to start frontend for development #131

@Suraj0950

Description

@Suraj0950

FRONTEND Setup issue:

When i have try to setup the frontend for development i found that the below issue 💯

Image

Frontend Configuration To show this Issue

  1. In the frontend/ directory, create a file named .env.

  2. Add the following environment variables to the .env file:

VITE_BASE_URL="http://localhost:1313"
VITE_GOOGLE_CLIENT_ID="<YOUR_GOOGLE_OAUTH_CLIENT_ID>"
  • Replace <YOUR_GOOGLE_OAUTH_CLIENT_ID> with your actual Google OAuth Client ID from Google Cloud Console.

Running the Frontend (React + Vite)

  1. Open a new terminal and navigate to the frontend directory:

    cd frontend
    
  2. Install dependencies:

    npm install
    
  3. Create a .env file and add:

    VITE_BASE_URL="http://localhost:1313"
    
  4. Start the development server:

    npm run dev
    

EXPECTATION

frontend should be render properly to the browser.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions