-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from sakshi-in-loops/FERefactoring
FE Refactoring
- Loading branch information
Showing
39 changed files
with
58,413 additions
and
2,850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.env |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.