Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug transcription #28

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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