mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-12 06:57:47 -05:00
Frontend baked VITE_API_URL into the bundle at build time, so published images pointed at whatever URL CI had — "fail to fetch" for every other deployment. Bundle now defaults to same-origin relative URLs and the frontend nginx proxies /api/ to the api service over the Docker network; CORS becomes irrelevant. - docker-compose.prod.yml: use ghcr images (FLOWSINT_VERSION, default latest), drop build sections; bind postgres/redis/neo4j/ api ports to 127.0.0.1 — only 5173 faces the network - nginx: /api/ reverse proxy, request-time DNS resolution, SSE support (proxy_buffering off) - Makefile: prod pulls instead of building; remove dead deploy targets referencing nonexistent docker-compose.deploy.yml - README: network/server deployment section (secrets checklist, version pinning, TLS via reverse proxy)
flowsint-app
The folder for the flowsint client, a web application built with Vite and React. The main libraries used are:
- TanstackQuery
- TanstackRouter
- XYflow
- react-force-graph
Project setup
Install
$ npm install
Development
$ npm run dev
This will start the development server at http://localhost:5173
Build
$ npm run build
This will create a production build in the dist folder.
Preview
$ npm run start
This will start the production build locally.