TSN is a backend service for a social network platform, built with C++ and the Bulgogi web framework. It features user modeling, friend recommendation (A* algorithm), interest and profile matching, and provides a RESTful API for user and simulation management.
- High-performance HTTP server using Boost.Beast and Bulgogi
- User modeling with interests, profiles, and friend lists
- Friend and stranger recommendation based on A* search and cost functions
- MySQL database integration for persistent storage
- RESTful API for user management, simulation, and data refresh
- Docker support for easy deployment
main.cpp— Server entry pointWeb/— HTTP routing, API handlers, and web utilitiesApplication/— Core business logic (user model, friend recommendation, DB handlers)Entities/— User data structures and algorithmsUtils/— Static data, user profile generatorsdocker/— Dockerfiles for build/runtimedocs/— API documentation, quick start, build instructions
See docs/quick_start.md for setup and running instructions.
See docs/api.md for detailed API endpoints and usage.
See build.md for build and deployment instructions, including Docker usage.
See NOTICE.md for third-party licenses.
This project uses the Bulgogi C++ web framework for high-performance HTTP services.