Skip to content

Vanthys/tcr-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentinel

Developer Setup

Prerequisites

Before starting, install uv, which is used to manage the Python environment and dependencies.

Installation guide: https://docs.astral.sh/uv/


Backend Setup

  1. Navigate to the server directory:
cd server
uv sync
  1. Start the backend server:
uv run uvicorn main:app --reload --port 3001

The backend will run at: http://localhost:3001

Frontend Setup

Navigate to the frontend app directory:

cd app

Install dependencies:

npm install

Start the development server:

npm run dev

The frontend will run at the URL printed in the terminal (commonly http://localhost:5173).

Project Structure

.
├── data/     # Data files (not included in this repository)
├── server/   # FastAPI backend
└── app/      # React based Frontend web application

Development Notes

  • Backend framework: FastAPI
  • ASGI server: Uvicorn
  • Python environment and dependency management: uv
  • Frontend runs with a development server that supports hot reload.
  • Start the backend first, then run the frontend to ensure API requests work correctly.

Important

MacOS may block localhost, you may need to use 127.0.0.1 instead, which could require you to change the vite proxy.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors