AOSSIE-Org / AOSSIE-Org/DebateAI

BUG: Unable to start frontend for development

Offen
#131 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Suraj0950 Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
84
Forks
198
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
30

Beschreibung

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=""
```

- Replace `` 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.