Welcome to CSFairTrade, a full-stack application that enables users to trade, sell, and buy in-game items from CS2 (Counter-Strike 2).
- Frontend: React, Framer Motion
- Backend: Node.js, Express.js
- Database: MySQL
- Real-time Communication: Socket.IO
- User authentication via Steam
- Item trading and listing
- Steam market integration
- User profiles
/api/auth- Authentication routes/api/trade- Trade-related routes/api/user- User-related routes/api/market- Steam market routes/api/stripe- Stripe payment routes
site: Sends the site configuration object to the client.user: Sends the user object to the client.user inv: Sends the user inventory data to the client.bot inv: Sends the specified bot's inventory data to the client.bots inv: Sends the inventories of all bots to the client.bots floats: Sends the float values of the bots' items to the client.pricelist: Sends the current pricelist to the client.rates: Sends the current rates for ignore, trash, user, and bot to the client.Offer status: Sends the status of the trade offer to the client.
get user inv: Fetches the user's inventory data.get bot inv: Fetches the specified bot's inventory data.get bots inv: Fetches the inventories of all bots.get pricelist: Fetches the current pricelist.get rates: Fetches the current rates.get offer: Validates and processes trade offers.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for visiting CSFairTrade! Don't forget to ⭐ this repository if you find it useful.
