Skip to content

BUAA-BDA/DataFactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataFactory

This project preserves a layered web architecture with api/service/dao/entity/resources.

Currently retained:

  • Local SQLite initialization (SQL migrations run automatically at startup)
  • User authentication and session flow (/api/auth/login, /api/auth/logout, /api/auth/session)
  • User management APIs (/api/users)

Removed:

  • Multi-agent features
  • Other business features such as chat, admin, and database probing/execution

Run

pip install -r requirements.txt
PYTHONPATH=src python -m web.app

After startup:

  • Health: http://127.0.0.1:8888/health
  • Swagger: http://127.0.0.1:8888/docs

Optional: Login Bypass (Auto Admin)

In /src/web/resources/config.yaml, set:

auth:
  auto_login_as_user: true

When enabled, guarded APIs can be called without login. The backend will automatically authenticate using admin/admin.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors