diff --git a/.env b/.env new file mode 100644 index 000000000..a90afdb33 --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +DB_URL="mongodb://localhost:27017/TrustBridge" +JWT_SECRET="NetDpVFFq8H8tYtWT3bKjKzgTmsXPZ7mylWw/Z4t2PKC09bhJuL9aud0u4GPuGBojCDZ/XHrpHDBmPokRoTA==" +FRONTEND_URL=http://localhost:5173 +REDIS_URL=redis://localhost:6379 +VITE_BACKEND_URL=http://localhost:5000 diff --git a/index.html b/index.html index 55f905377..ec7d134aa 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,9 @@
- + -{message.content}
- {lastMessage.senderId === currentUser.id ? 'You: ' : ''} + {lastMessage.senderId === currentUser.userId + ? "You: " + : ""} {lastMessage.content}
)} - - {lastMessage && !lastMessage.isRead && lastMessage.senderId !== currentUser.id && ( -- {formatDistanceToNow(new Date(request.createdAt), { addSuffix: true })} + {formatDistanceToNow(new Date(request.time), { addSuffix: true })}
Investor • {investor.totalInvestments} investments
- ++ Investor • {investor.totalInvestments || "0"} investments +
+{investor.bio}
{investor.minimumInvestment} - {investor.maximumInvestment}
++ {investor.minimumInvestment} - {investor.maximumInvestment} +
No collaboration requests yet
-When investors are interested in your startup, their requests will appear here
++ When investors are interested in your startup, their + requests will appear here +
Find and connect with promising entrepreneurs
++ Find and connect with promising entrepreneurs +
Total Startups
-+ Total Startups +
+Industries
-+ Industries +
+Your Connections
++ Your Connections +
No startups match your filters
-+ No startups match your filters +
+Track and manage your investment pipeline
++ Track and manage your investment pipeline +
Total Investment
-$4.3M
-Active Deals
-8
-Portfolio Companies
-12
-Closed This Month
-2
-| - Startup - | -- Amount - | -- Equity - | -- Status - | -- Stage - | -- Last Activity - | -- Actions - | -||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
-
-
-
- {deal.startup.name}
-
-
- {deal.startup.industry}
+ {filteredDeals.length === 0 ? (
+ No deals found. + ) : ( +
+
+
|
+
+ {deal.amount}
+ |
+
+ {deal.equity}
+ |
+
+ |
+
+ {deal.stage}
+ |
+
+
+ {new Date(deal.lastActivity).toLocaleDateString()}
+
+ |
+
+ |
+
Manage your startup's important files
Description: {description}
+ ++ Goal Amount: ${goalAmount} +
+ + +{description}
+{fundNeeded}
++ Description: + {description} +
+ +{exits}
+
+
+
+
+ Connect with investors who match your startup's needs
++ Connect with investors who match your startup's needs +
- Start connecting with entrepreneurs and investors to begin conversations + Start connecting with entrepreneurs and investors to begin + conversation
Stay updated with your network activity
++ Stay updated with your network activity +
- {notification.content} -
- -{notification.content}
+ ++ No notifications found 🚀 +
+ )}The entrepreneur profile you're looking for doesn't exist or has been removed.
++ The entrepreneur profile you're looking for doesn't exist or has been + removed. +
+ s -
{entrepreneur.bio}
++ {entrepreneur.bio || "Say about yours..?"} +
- {entrepreneur?.pitchSummary?.split('.')[0]}. + {entrepreneur?.pitchSummary?.split(".")[0] || "--"}.
- {entrepreneur.pitchSummary} + {entrepreneur.pitchSummary || "--"}
- The {entrepreneur.industry} market is experiencing significant growth, with a projected CAGR of 14.5% through 2027. Our solution addresses key pain points in this expanding market. + {entrepreneur.marketOpportunity || "--"}
- Unlike our competitors, we offer a unique approach that combines innovative technology with deep industry expertise, resulting in superior outcomes for our customers. + {entrepreneur.advantage || "--"}
Founder & CEO
CTO
Head of Product
+ {entrepreneur.teamSize - 3} more team members
++ + {entrepreneur?.teamSize - 3} more team members +
{entrepreneur.fundingNeeded}
++ {AmountMeasureWithTags(entrepreneur.fundingNeeded ?? 0)} +
$8M - $12M
++ ${AmountMeasureWithTags(valuation ?? 0)} +
$750K Seed (2022)
+ + Previous Funding + ++ $750K Seed (2022) +
Updated 2 months ago
++ Updated 2 months ago +
Updated 1 month ago
Updated 2 weeks ago
- Request access to detailed documents and financials by sending a collaboration request. + Request access to detailed documents and financials by + sending a collaboration request.
- + {!hasRequestedCollaboration ? ( -The investor profile you're looking for doesn't exist or has been removed.
- -+ The investor profile you're looking for doesn't exist or has been + removed. +
+ +
{investor.bio}
++ {investor.bio || "Say something about u..?"} +
Invested in 2022
+ {(investor.portfolioCompanies && + investor.portfolioCompanies.map((company, index) => ( ++ Invested in 2022 +
+- {investor.minimumInvestment} - {investor.maximumInvestment} + + Investment Range + +
+
{investor.totalInvestments} companies
+ + Total Investments + ++ {investor.totalInvestments || 0} companies +
3-5 years
+ + Typical Investment Timeline + ++ {investor.minTimline || 0}-{investor.maxTimline || 0} years +
4
++ {investor.successfullExits || 0} +
3.2x
++ 3.2x +
{investor.portfolioCompanies.length}
++ {(investor.portfolioCompanies && + investor.portfolioCompanies.length) || + 0} +
Manage your account preferences and settings
++ Manage your account preferences and settings +
- JPG, GIF or PNG. Max size of 800K -
-- Add an extra layer of security to your account -
-No deals found yet.
+ ) : ( +{deal.investorEmail}
+Business: {deal.businessName}
+Investment Amount: ${deal.amount}
+Requested Equity: {deal.equity}%
+Message: {deal.message}
+ + {deal.status === "pending" && ( +📡 Call in Progress...
+ ) : ( +Not connected
+ )} +📡 Call in Progress...
+ ) : ( +Not connected
+ )} +