Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| src | 1 year ago | |
| static/images/bg | 1 year ago | |
| .env.default | 1 year ago | |
| .gitignore | 1 year ago | |
| README.md | 1 year ago | |
| gatsby-browser.js | 1 year ago | |
| gatsby-config.ts | 1 year ago | |
| gatsby-ssr.tsx | 1 year ago | |
| package.json | 1 year ago | |
| postcss.config.js | 1 year ago | |
| tailwind.config.js | 1 year ago | |
| tsconfig.json | 1 year ago | |
| yarn.lock | 1 year ago | |
Run the UI in dev mode (make changes and see them reflected in the browser with hot reloading):
yarn install
yarn start # local development
yarn start --host 0.0.0.0 # in container (enables external access)
This should start the server on port 8000.
gatsby-config.js, gatsby-node.js, gatsby-browser.js and gatsby-ssr.js.The core of the app can be found in the src folder. To add pages, add a new folder in src/pages and add a index.js file. This will be the entry point for the page. For example to add a route in the app like /about, add a folder about in src/pages and add a index.tsx file. You can follow the content style in src/pages/index.tsx to add content to the page.
Core logic for each component should be written in the src/components folder and then imported in pages as needed.
The frontend makes requests to the backend api and expects it at /api on localhost port 8081.
.env.default.env.developmentGATSBY_API_URL which should be set to http://localhost:8081/api for local development. This tells the UI where to make requests to the backend.This is a mirror of AutoGen from GitHub. AutoGen is a framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
Python SVG Jupyter Notebook C# TSX other