AOSSIE-Org / AOSSIE-Org/DebateAI

BUG: Unable to start frontend for development

Open
#131 3 comments 0 reactions 1 assignee Claimed by @Suraj0950 View on GitHub
Dominant language
TypeScript
Stars
84
Forks
198
Avg merge
2d 19h
Merged PRs (30d)
30

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.