Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
7c96586
initial commit
Dec 23, 2023
c7e1b01
mock server integration with postman to replace mock data
Dec 24, 2023
02d3caa
added dynamic query params to dashboard filters
Dec 24, 2023
dc6a1ec
updated leads page to also use mock server api
Dec 24, 2023
4d62451
fixed sorting to support invalid dates
Dec 24, 2023
00c71f9
Merge pull request #2 from hasanihendrix1/feature/hasani-1
hasanihendrix1 Dec 24, 2023
38ee93a
Update README.md
hasanihendrix1 Dec 25, 2023
88605e7
Update README.md
hasanihendrix1 Dec 25, 2023
d969276
Update README.md
hasanihendrix1 Dec 25, 2023
bb54c7f
clean up of files, preparing for prospect page mock server integration
Dec 25, 2023
23c9c38
Updates and refactoring to the app overall
Jan 11, 2024
f575d43
minor name refactoring
Jan 13, 2024
619b977
additional settings for extension purposes
Jan 13, 2024
36919b2
Major updates including aws amplify integration
hasanihendrix1 Jan 14, 2024
ed6831b
Merge pull request #4 from hasanihendrix1/feature/hasani-2
hasanihendrix1 Jan 14, 2024
219bde2
other changes
hasanihendrix1 Jan 14, 2024
d0b22dd
Add CICD pipeline
hasanihendrix1 Jan 14, 2024
9e9b4d7
Allow cloud formation templates
hasanihendrix1 Jan 14, 2024
192cc51
clean slate for package.json
hasanihendrix1 Jan 14, 2024
1b3ffb1
Updated react scripts to fix pre build issue
hasanihendrix1 Jan 14, 2024
b3f384a
Update react-scripts and typescript to compatible versions
hasanihendrix1 Jan 14, 2024
84b3170
More solutions to build issue
hasanihendrix1 Jan 14, 2024
79c6f7a
.
hasanihendrix1 Jan 14, 2024
cce93b5
.
hasanihendrix1 Jan 14, 2024
f38a5a7
.
hasanihendrix1 Jan 14, 2024
c149005
.
hasanihendrix1 Jan 14, 2024
90be89a
.
hasanihendrix1 Jan 14, 2024
b494019
.
hasanihendrix1 Jan 14, 2024
851c9c3
More pipeline scripts
hasanihendrix1 Jan 14, 2024
6b9635d
.
hasanihendrix1 Jan 14, 2024
2a40ba3
testing pipeline
hasanihendrix1 Jan 14, 2024
26cace9
pipeline updates
hasanihendrix1 Jan 14, 2024
ba03712
updated yaml
hasanihendrix1 Jan 14, 2024
60e70ef
Minor tweak to pipeline
hasanihendrix1 Jan 14, 2024
ff77464
Added the property search batch api functionality to Amplify's backend
hasanihendrix1 Jan 14, 2024
fd2e849
More updates and added email api to post csv download
hasanihendrix1 Jan 18, 2024
8b0ad8a
Resolved comments to validate base url and bearer token
hasanihendrix1 Jan 18, 2024
8d68450
Added ssm caching to lambda functions
hasanihendrix1 Jan 18, 2024
6cd8b02
Update amplify/backend/function/skiptraceApiProcessor/src/app.js
hasanihendrix1 Jan 18, 2024
dc78b5d
New env variable for allowed origins
hasanihendrix1 Jan 18, 2024
ca84f5a
Update amplify/backend/function/skiptraceApiProcessor/src/app.js
hasanihendrix1 Jan 18, 2024
a0429bd
Merge remote-tracking branch 'refs/remotes/origin/feature/hasani-3' i…
hasanihendrix1 Jan 18, 2024
697260f
merge
hasanihendrix1 Jan 18, 2024
2bafb42
Minor updates
hasanihendrix1 Jan 18, 2024
d5e8889
Merge pull request #5 from hasanihendrix1/feature/hasani-3
hasanihendrix1 Jan 18, 2024
36aafa7
Removed failing test - will revisit later
hasanihendrix1 Jan 18, 2024
584539f
Updates to api for prospect fetching and also email sent notification…
hasanihendrix1 Jan 21, 2024
e5c8a8a
debugging
hasanihendrix1 Jan 23, 2024
faec6e0
added all packages
hasanihendrix1 Jan 23, 2024
5f8c30e
more detailed error logging
hasanihendrix1 Jan 31, 2024
41b3c1f
more logs
hasanihendrix1 Jan 31, 2024
cbb59be
log entire request
hasanihendrix1 Jan 31, 2024
c47eb26
.
hasanihendrix1 Jan 31, 2024
a0d42e1
remove express
hasanihendrix1 Jan 31, 2024
4cf9e1f
use express with apiGateway obj
hasanihendrix1 Jan 31, 2024
c48048c
more logging
hasanihendrix1 Jan 31, 2024
89bbb7a
refactor logging
hasanihendrix1 Jan 31, 2024
ba8f786
add axios to lambda functions
hasanihendrix1 Feb 5, 2024
7e22476
install aws sdk
hasanihendrix1 Feb 5, 2024
a8b8284
logging
hasanihendrix1 Feb 7, 2024
dcfa356
response log
hasanihendrix1 Feb 7, 2024
4816076
cleaned logging
hasanihendrix1 Feb 7, 2024
f3faa7c
updates to logging and also skiptrace response return statement
hasanihendrix1 Feb 7, 2024
3e715f5
additional log
hasanihendrix1 Feb 7, 2024
a50840f
added uniformity to email api
hasanihendrix1 Feb 7, 2024
0a98726
rebbase
hasanihendrix1 Feb 7, 2024
81267ca
Changes based on pr comments
hasanihendrix1 Feb 9, 2024
ac2ccc8
Pull prospect list modal is fully functional for dev env implementation
hasanihendrix1 Feb 9, 2024
6fa3c09
add obfuscation so that code can't be read and reverse-engineered on …
Feb 22, 2024
be81d11
minified css code
Feb 22, 2024
f89e0b3
final cleanup to minify code and include in CICD pipeline
Feb 22, 2024
bafccd5
Resolved rimraf error
hasanihendrix1 Feb 22, 2024
79475d0
Updates to complete the skiptracing functionality on the prospects page
hasanihendrix1 Mar 6, 2024
852c30a
bug in error handling fixed
hasanihendrix1 Mar 6, 2024
6bb8f2a
Merge pull request #8 from hasanihendrix1/feature/hasani-7
hasanihendrix1 Mar 6, 2024
66e44b4
tweak to yaml
hasanihendrix1 Mar 6, 2024
8a7de14
Add app_stage to uphold app environment consistency
hasanihendrix1 Mar 6, 2024
1220580
Added signup/login page
Mar 7, 2024
49a6051
updates to Todo list,
hasanihendrix1 Mar 7, 2024
3abd5ef
updated skiptracing modal for bug fix
hasanihendrix1 Mar 7, 2024
9b7931c
updates to user login page. Frontend almost complete
hasanihendrix1 Mar 7, 2024
0926166
frontend for signup minus google auth, complete
Mar 8, 2024
4fdaa6e
login updates
Mar 8, 2024
0f284fb
Completed Google federated login on auth page
hasanihendrix1 Mar 9, 2024
99d9ca0
Current state of my auth changes
hasanihendrix1 Mar 11, 2024
3d565a9
Updated user login page to be more stylistic
Mar 25, 2024
5dbc5ec
Styling updates to the login page
hasanihendrix1 Mar 27, 2024
df87736
Major updates and also inclusive of sign up verification, functionality
hasanihendrix1 Mar 27, 2024
f08a71e
minor tweaks to sign up page styling
Mar 27, 2024
4bb242f
More minor styling tweaks
Mar 27, 2024
2bfd516
login functionality
Mar 27, 2024
d64d1bb
Updates for signing and signing out functionality. Also a few stylist…
hasanihendrix1 Mar 27, 2024
f95a6f9
final updates
Mar 28, 2024
f150ec1
minor clean up
hasanihendrix1 Mar 28, 2024
7b02e72
PR comments resolved
hasanihendrix1 Mar 29, 2024
d7c21b1
Updated test
hasanihendrix1 Mar 29, 2024
f90d06a
Merge pull request #9 from hasanihendrix1/feature/user_authentication
hasanihendrix1 Mar 29, 2024
44fe252
add meta file
hasanihendrix1 Mar 29, 2024
12d6967
hotfix build issue
hasanihendrix1 Mar 29, 2024
3c06dfb
adjust path
hasanihendrix1 Mar 29, 2024
b19dc7b
logging
hasanihendrix1 Mar 29, 2024
80e3a53
log test
hasanihendrix1 Mar 29, 2024
27f2ebb
log test
hasanihendrix1 Mar 29, 2024
a25f1d6
more logs
hasanihendrix1 Mar 29, 2024
3c57009
logs #4
hasanihendrix1 Mar 29, 2024
fa60573
log 5
hasanihendrix1 Mar 29, 2024
0148bf5
test
hasanihendrix1 Mar 29, 2024
8af3615
Prospect page updates
hasanihendrix1 Mar 29, 2024
fa24b36
Adjust padding on pages to respect top nav
hasanihendrix1 Apr 6, 2024
4651f8a
Update src/components/PageHeader/index.js
hasanihendrix1 Apr 6, 2024
5095d24
Update src/components/PageHeader/PageHeader.css
hasanihendrix1 Apr 6, 2024
f10e905
Update src/components/layout/TopNav/index.js
hasanihendrix1 Apr 6, 2024
55a5976
Merge pull request #10 from hasanihendrix1/feature/rebranding
hasanihendrix1 Apr 6, 2024
d461f55
Merge pull request #11 from hasanihendrix1/sandbox
hasanihendrix1 Apr 6, 2024
0a009cb
extraction scripts
hasanihendrix1 Sep 14, 2024
b756089
Updated buyer scripts for security
hasanihendrix1 Sep 14, 2024
0987d2e
code to purchase twilio number for CLI app
hasanihendrix1 Sep 14, 2024
1fb90a2
Made significant progress in relation to the phone number scripts
hasanihendrix1 Sep 14, 2024
03eeb39
Completed Number replacement scripts
hasanihendrix1 Sep 15, 2024
51061c7
Official CLIP script created
hasanihendrix1 Sep 18, 2024
c5d55f5
Provide instructions for where to place new replacement number
hasanihendrix1 Sep 19, 2024
b37112e
Offer Scripts
hasanihendrix1 Sep 21, 2024
131d81a
Added b to c flows
hasanihendrix1 Oct 6, 2024
64ba28a
Added KPI update to offer sent script
hasanihendrix1 Dec 23, 2024
0dbd976
Added KPI update to offer sent script
hasanihendrix1 Dec 23, 2024
3f08f5e
Script updates
hasanihendrix1 Dec 23, 2024
699af27
Merge pull request #14 from hasanihendrix1/feature/scripts
hasanihendrix1 Dec 23, 2024
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
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": "plugin:react/recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"react/prop-types": "off",
"react/no-find-dom-node": "off",
"react/display-name": "off"
Comment on lines +13 to +15

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding comments explaining the rationale behind disabling specific ESLint rules. For example, if react/prop-types is disabled due to TypeScript usage, mentioning this can provide clarity to other developers.

+   // Disabled due to TypeScript usage for type checking
    "react/prop-types": "off",
+   // Not using ReactDOM.findDOMNode in the project
    "react/no-find-dom-node": "off",
+   // Component display names are not required for this project
    "react/display-name": "off"

This helps maintain transparency and understanding within the development team.


Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
"react/prop-types": "off",
"react/no-find-dom-node": "off",
"react/display-name": "off"
// Disabled due to TypeScript usage for type checking
"react/prop-types": "off",
// Not using ReactDOM.findDOMNode in the project
"react/no-find-dom-node": "off",
// Component display names are not required for this project
"react/display-name": "off"

}
}
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
node_modules
.env
.DS_Store
src/.DS_Store
/build/
coverage

#amplify-do-not-edit-begin
amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/logs
amplify/mock-data
amplify/mock-api-resources
amplify/backend/.temp
build/
dist/
node_modules/
aws-exports.js
awsconfiguration.json
amplifyconfiguration.json
amplifyconfiguration.dart
amplify-build-config.json
amplify-gradle-config.json
amplifytools.xcconfig
.secret-*
**.sample
#amplify-do-not-edit-end

src/utils/constants/accountConstants.js
amplify/.temp
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"files.exclude": {
"amplify/.config": true,
"amplify/**/*-parameters.json": true,
"amplify/**/amplify.state": true,
"amplify/**/transform.conf.json": true,
"amplify/#current-cloud-backend": true,
"amplify/backend/amplify-meta.json": true,
"amplify/backend/awscloudformation": true
},
"cSpell.words": ["Kontra", "KONTRAX", "Skiptrace", "skiptracing", "testid"]
}
95 changes: 49 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,73 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
# KontraX: Real Estate Wholesaling App

## Available Scripts
## Introduction

In the project directory, you can run:
KontraX is a specialized application designed to streamline the operations of a real estate wholesaling business. By automating and optimizing various tasks and processes, KontraX enhances productivity and decision-making in managing real estate opportunities.

### `npm start`
## Purpose

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The application aims to simplify and enhance the efficiency of the wholesaling process from lead generation to closing deals, ensuring a smooth workflow for wholesaling real estate.

The page will reload when you make changes.\
You may also see any lint errors in the console.
## Tech Stack

### `npm test`
- **Front-end**: React.js
- **Back-end**: AWS Lambda Functions
- **API Requests**: Axios (front-end)
- **Database**: PostgreSQL

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
## Features

### `npm run build`
### Main Pages

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
1. **Dashboard**: Displays key analytics and KPIs.
2. **Prospects**: Upload and manage property lists.
3. **Leads**: Prioritize and manage leads.
4. **Offer Oracle**: Assist in property analysis and offer calculation.
5. **Offer Outreach**: Manage and track offers to sellers.
6. **Inspections**: Guide for scheduling property inspections.
7. **Buyers**: Manage buyer information and preferences.
8. **Deal Deploy**: Handle deal distribution and buyer follow-up.
9. **Title Kickstart**: Streamline communication with title companies.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
### Secondary Pages

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
- **Notifications**: Manage app notifications.
- **Phone Number Management**: Manage business-related phone numbers.

### `npm run eject`
## Database Schema

**Note: this is a one-way operation. Once you `eject`, you can't go back!**
### Key Tables

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
- `leads`
- `buyers`
- `title_companies`
- `jv_opportunities`
- `notifications`

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
*Detailed schema information is provided in the database schema file.*

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Roles

## Learn More
- **Admin**: Oversee overall application functions.
- **Cold Callers (CCs)**: Engage in effective cold calling and lead management.
- **Acquisition Manager (AM)**: Handle sales, negotiation, and closing deals.
- **Disposition Manager (DM)**: Manage buyer interactions and deal disposition.
- **Principle**: Oversee all processes and make strategic decisions.

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
## Development Stages

To learn React, check out the [React documentation](https://reactjs.org/).
1. **Frontend Development**
2. **Backend Integration**
3. **User Authentication & Authorization**
4. **Database Setup**
5. **Testing & Quality Assurance**
6. **Deployment & Maintenance**

### Code Splitting
## Conclusion

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
KontraX represents a significant advancement in real estate wholesaling management, offering comprehensive tools and features to enhance the operations of Wholesaling.

### Analyzing the Bundle Size
---

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
For more information on development guidelines, setup, and usage, refer to the accompanying documentation.
55 changes: 55 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# TODO.md

## Top Nav Development To-Do List

- [ ] Develop Top nav with a stylish transparency but it has pageheader title + icon and also noti and settings icon

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct the grammar and spelling mistakes for better clarity and professionalism.

- Develop Top nav with a stylish transparency but it has pageheader title + icon and also noti and settings icon
+ Develop the Top Nav with stylish transparency. It should include the page header title + icon, as well as notification and settings icons.

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
- [ ] Develop Top nav with a stylish transparency but it has pageheader title + icon and also noti and settings icon
- [ ] Develop the Top Nav with stylish transparency. It should include the page header title + icon, as well as notification and settings icons.

- [ ] Add User Id

## Auth page Development To-Do List

- [ ] Add forgot your password feature
- [ ] Handle google sign in vs manual sign in caveats
- [ ] Fix verification code, auto sign in after success

## Dashboard Development To-Do List

- [ ] **Overview Section**

- [ ] Add a refresh tab which will make call to DB api for fresh data
- [ ] Integration with timeline and market filters

- [ ] **Performance Metrics Section**

- [ ] Integration with timeline and market filters

- [ ] **Market Insights Section**

- [ ] Investor Activity and Interest Levels Hottest Investor markets: Use Brent's formula in that virtual youtube video to determine hottest investor markets currently

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize "YouTube" correctly for professionalism and accuracy.

- Use Brent's formula in that virtual youtube video to determine hottest investor markets currently
+ Use Brent's formula in that virtual YouTube video to determine the hottest investor markets currently

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
- [ ] Investor Activity and Interest Levels Hottest Investor markets: Use Brent's formula in that virtual youtube video to determine hottest investor markets currently
- [ ] Investor Activity and Interest Levels Hottest Investor markets: Use Brent's formula in that virtual YouTube video to determine the hottest investor markets currently

- [ ] Display all 'my' markets with ability to add or remove markets
- [ ] Display my top 3 markets based and showing # of deals closed in respective market
- [ ] Current deal conversion graph will be only based on my markets
- [ ] Remove Deals Closed Graph

- [ ] **Lead Source Analysis Section**

- [ ] Integration with timeline and market filters

- [ ] **Deal Lifecycle Insights Section**
- [ ] Analyze Deals Terminated with a Pareto chart to identify common issues from highcharts
- [ ] Track Deals Pending with a Kanban board visualization
- [ ] Highlight Key Trends for the last 5 closed deals
- [ ] List Progressive Strategies from the analysis of the last 5 terminated deals
- [ ] Implement a forecasting model for future deal closures using key conversion metrics
- [ ] Time Spent in Each Deal Stage: Bar graphs or line charts showing the average time deals spend in each stage of the lifecycle. This is key for identifying inefficiencies and improving the speed of deal processing.
- [ ] Include market filter dropdown
- [ ] Include timeline filter dropdown

## Table Enhancements

- [ ] Edit/Create/Delete capabilities for leads in leads page

## FilterBar Improvements

- [ ] Error handling if lead in data doesn't have a field
- [ ] Generalize filterbar more to take in toggle button properties and don't define those properties in the file itself do so in leads index
- [ ] Create custom FilterToggleButton component
31 changes: 31 additions & 0 deletions amplify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 1
backend:
phases:
build:
commands:
- "# Execute Amplify CLI with the helper script"
- amplifyPush --simple
frontend:
phases:
preBuild:
commands:
- echo "Running preBuild commands"
- if [ ! -d "node_modules" ]; then npm ci; fi
- npm install javascript-obfuscator --save-dev
- npm run lint
- npm run test
build:
commands:
- echo "Running build commands"
- npm run build || (echo "Build failed" && exit 1)
postBuild:
commands:
- echo "Running postBuild commands"
- npm run clean:css
artifacts:
baseDirectory: build
files:
- "**/*"
cache:
paths:
- node_modules/**/*
17 changes: 17 additions & 0 deletions amplify/.config/project-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"projectName": "kontrax",
"version": "3.1",
"frontend": "javascript",
"javascript": {
"framework": "react",
"config": {
"SourceDir": "src",
"DistributionDir": "build",
"BuildCommand": "npm run-script build",
"StartCommand": "npm run-script start"
}
},
"providers": [
"awscloudformation"
]
}
48 changes: 48 additions & 0 deletions amplify/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Getting Started with Amplify CLI

This directory was generated by [Amplify CLI](https://docs.amplify.aws/cli).

Helpful resources:

- Amplify documentation: https://docs.amplify.aws
- Amplify CLI documentation: https://docs.amplify.aws/cli
- More details on this folder & generated files: https://docs.amplify.aws/cli/reference/files
- Join Amplify's community: https://amplify.aws/community/

## AWS Lambda Function Configuration

### Overview

This section details the necessary environment configurations for the AWS Lambda functions used in this project. These configurations are essential for the Lambda functions to properly operate and interact with other services.

### Required Environment Variables

1. **API_BASE_URL**

- **Description**: The base URL of the API that the Lambda functions will interact with.
- **Required For**: All Lambda functions that make API calls.
- **Example Value**: `https://api.example.com/v1`
- **How to Set**: This variable should be set in the Lambda function's environment configuration in the AWS Management Console or via the AWS CLI.

2. **BEARER_TOKEN_NAME**
- **Description**: The name of the bearer token stored in AWS Parameter Store, used for authenticated API calls.
- **Required For**: Lambda functions that make authenticated requests.
- **Example Value**: `kontrax_dev_batch_bearerToken`
- **How to Set**: This variable should correspond to the name of the parameter in the AWS Parameter Store. Ensure that the Lambda function's execution role has the necessary permissions to access the Parameter Store.

### Setting Environment Variables

To set these environment variables for your Lambda functions, follow these steps:

1. Navigate to the AWS Lambda console.
2. Select the Lambda function you want to configure.
3. In the function's configuration tab, locate the 'Environment variables' section.
4. Click 'Edit' and add `API_BASE_URL` and `BEARER_TOKEN_NAME` with their respective values.
5. Save your changes.

Make sure to repeat this process for each Lambda function that requires these environment variables.

### Additional Notes

- Ensure that the values set for these environment variables align with your project's current configuration and the AWS services in use.
- Regularly review and update these settings to reflect any changes in your project's API or authentication mechanisms.
Loading