AOSSIE-Org / AOSSIE-Org/DebateAI

BUG: Unable to start frontend for development

未關閉
#131 3 則留言 0 個 reaction 已指派 1 人 已被 @Suraj0950 認領 在 GitHub 檢視
主要語言
TypeScript
星號
84
分支
198
平均合併
2 天 19 小時
30 天內合併 PR
30

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。