Skip to content

Commit

Permalink
Merge pull request #31 from sakshi-in-loops/FERefactoring
Browse files Browse the repository at this point in the history
FE Refactoring
  • Loading branch information
keshav-nischal authored Feb 3, 2025
2 parents b9dfdc5 + 0068d63 commit e84fcf6
Show file tree
Hide file tree
Showing 39 changed files with 58,413 additions and 2,850 deletions.
54 changes: 52 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,52 @@
# DebateAI
testing
# Project Setup Guide

## Backend Setup

1. Navigate to the backend directory:
```sh
cd ./backend
```
2. Run the backend server:
```sh
go run cmd/server/main.go
```

## Frontend Setup

1. Navigate to the frontend directory:
```sh
cd ./frontend
```
2. Install dependencies:
```sh
npm install
```
3. Start the development server:
```sh
npm run dev
```

## Setting Up Amazon Cognito

Follow these steps to configure Amazon Cognito for authentication:

1. **Navigate to Cognito**
- Go to the [AWS Management Console](https://aws.amazon.com/console/) and open Cognito.

2. **Create a User Pool**
- Configure authentication settings as per your requirements.

3. **Retrieve Credentials**
- Once the User Pool is set up, obtain the necessary credentials:
- **User Pool ID**
- **App Client ID**

4. **Update Application Configuration**
- Add the retrieved credentials to your application's configuration file (e.g., `config.yml`).

For more details, refer to the [official AWS documentation](https://docs.aws.amazon.com/cognito/).

---

This guide follows the approach used in the project implementation. If you encounter any issues, check the AWS documentation or relevant project files.

1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
1 change: 0 additions & 1 deletion backend/README.md

This file was deleted.

Loading

0 comments on commit e84fcf6

Please sign in to comment.