A modern platform to explore fundraising pathways, M&A candidates, and strategic exits. The application is built with Next.js (App Router) and a rich component system, with optional Node/Express services for enhanced data and AI-driven analysis. Data can be sourced from providers such as Traxcn (primary) and Crunchbase (example helper in the legacy backend).
- Next.js 14 with the App Router and TypeScript
- Tailwind CSS 4 and a comprehensive UI library (Radix/shadcn)
- Dark mode support and cohesive design system
- Demo API routes under
app/api/*for quick prototyping - Optional Express backend for Traxcn/market data lookups and Gemini-based synergy analysis
- Framework: Next.js 14 (React 18)
- Language: TypeScript
- Styling: Tailwind CSS 4
- UI: Radix UI, shadcn, Lucide icons
- Charts: Recharts
- Optional backend: Node/Express (Axios, CORS, Dotenv) with Traxcn integration
- AI (optional): Google Generative AI (Gemini)
app/— Next.js App Router pages and API routesapp/{fundraise,acquisition,merger,exit}/page.tsxapp/api/*/route.ts(mock/demo API handlers)
components/— UI components and primitivesstyles/andapp/globals.css— global stylingpublic/— static assets, including the CreedCap logoback-end/— optional Express server with Crunchbase + AI integrationfront-end/— legacy static prototype (not used by Next.js runtime)resources/— API docs and internal notes
- Node.js 18+ (recommended 18.17+)
- npm 9+ or pnpm 9+
- Install dependencies
npm install
# or
pnpm install- Run in development
npm run dev
# or
pnpm devThe app runs at http://localhost:3000 by default.
- Production build
npm run build
npm start
# or
pnpm build
pnpm startThe built‑in Next.js demo routes under app/api/* do not require configuration. If you plan to run the optional Express backend or connect to Traxcn, create a .env file in the repository root (used by back-end/):
# Express server
PORT=3001
# Google Generative AI (Gemini)
GEMINI_API_KEY=your_gemini_api_key
# Traxcn
TRAXCN_API_KEY=your_traxcn_api_key
TRAXCN_BASE_URL=https://api.tracxn.com # adjust if different for your plan/regionNotes:
- Use
TRAXCN_API_KEY/TRAXCN_BASE_URLto configure Traxcn access. If you keep the legacy Crunchbase example, replace any hard‑coded keys inback-end/manda.jswith environment variables. - Do not commit secrets to version control.
This service is not required for the Next.js demo but enables realistic data and AI analysis flows (Traxcn/market data + Gemini analysis).
- Ensure dependencies are installed (root install typically covers these; run if missing):
npm install express axios dotenv cors
# or
pnpm add express axios dotenv cors- Start the server
node back-end/app.jsThe server runs at http://localhost:${PORT} (default 3000 if not set) and serves the legacy static prototype from front-end/ at /.
Available routes (example):
POST /api/investorsPOST /api/:mode-targetswheremode ∈ {acquisition, merger, exit}POST /api/competitor-investors
To integrate with Next.js locally, point client requests to http://localhost:3001 (or your PORT).
dev— start Next.js in developmentbuild— create a production buildstart— run the production serverlint— run Next.js lint
- Compatible with platforms like Vercel, Render, and Docker-based hosts.
- Current
next.config.mjsdisables image optimization (unoptimized: true) and ignores build-time ESLint/TypeScript errors to streamline CI. Tighten these for production.
- Traxcn (primary): Set
TRAXCN_API_KEYand (optionally)TRAXCN_BASE_URL. Use Axios or fetch with your organization’s preferred authentication scheme (e.g., header token) as per your Traxcn plan. - Crunchbase (legacy example): Present in
back-end/only for illustration. Replace or remove if you are standardizing on Traxcn.
- Theming via
next-themeswith a custom theme provider. - Component system includes dialogs, drawers, tables, charts, toasts, and forms.
- Global typography with Google
Inter.
The CreedCap logo resides at public/images/design-mode/CreedCap-Logo.png. Example usage in a React component:
import Image from "next/image";
export function Brand() {
return (
<Image
src="/images/design-mode/CreedCap-Logo.png"
alt="CreedCap"
width={160}
height={40}
priority
/>
);
}- Port conflicts: Change
PORTin.envfor Express, or run Next on a different port (e.g.,next dev -p 3002). - Type errors: Build-time TypeScript errors are currently ignored; re-enable for stricter CI.
- Images: Static images are unoptimized; adjust
next.config.mjsto enable Next/Image optimization if desired.
Proprietary — All rights reserved.
