cognee/cognee-frontend
Raj Mandhare b72a75776d
Frontend hardcodes API base URL #1084 (#1104)
<!-- .github/pull_request_template.md -->

## Description
This pull request refactors the frontend application to remove hardcoded
backend API and WebSocket URLs. The Environment variables are stored at
.env.template file which is created in PR. By this you can temporary
solve the problem of binding to the same port 8000. You have to bind
Cognee Api Server to different Port and then instead of changing the
hardcoded urls you only need to change the Port Number in base url which
is present in .env . Please let me know if you want to change Port
Number of Cognee Api Server from 8000 to different Port Number which
will resolve this issue permanently.
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Signed-off-by: Raj2604 <rajmandhare26@gmail.com>
2025-07-18 18:12:57 +02:00
..
public feat: migrate new UI to cognee (#966) 2025-06-18 20:56:44 +02:00
src Frontend hardcodes API base URL #1084 (#1104) 2025-07-18 18:12:57 +02:00
types feat: migrate new UI to cognee (#966) 2025-06-18 20:56:44 +02:00
.dockerignore fix: run frontend in a container 2024-06-23 13:24:58 +02:00
.env.template Frontend hardcodes API base URL #1084 (#1104) 2025-07-18 18:12:57 +02:00
.eslintrc.json feat: add initial cognee frontend 2024-05-17 13:42:14 +02:00
.gitignore feat: add initial cognee frontend 2024-05-17 13:42:14 +02:00
.prettierignore feat: migrate new UI to cognee (#966) 2025-06-18 20:56:44 +02:00
.prettierrc feat: websockets for pipeline update streaming (#851) 2025-06-11 20:29:26 +02:00
Dockerfile feat: migrate new UI to cognee (#966) 2025-06-18 20:56:44 +02:00
eslint.config.mjs feat: migrate new UI to cognee (#966) 2025-06-18 20:56:44 +02:00
next.config.mjs feat: add initial cognee frontend 2024-05-17 13:42:14 +02:00
package-lock.json refactor: Update package lock 2025-06-30 12:25:28 +02:00
package.json chore(deps): bump the npm_and_yarn group across 1 directory with 3 updates (#1013) 2025-06-24 10:34:03 +02:00
postcss.config.mjs feat: websockets for pipeline update streaming (#851) 2025-06-11 20:29:26 +02:00
README.md feat: add initial cognee frontend 2024-05-17 13:42:14 +02:00
tsconfig.json Merge dev with main (#921) 2025-06-07 07:48:47 -07:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.