Skip to content

Asilbek05/swaply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔄 Swaply — Barter Marketplace

A cashless trading platform where people can exchange goods and services without direct money payments.

Live Demo License Built with Next.js


🌐 Live Demo

Swaply is currently available at:

https://timeschedule.uz/


📌 About the Project

Swaply is an open-source barter marketplace platform built to help people exchange goods and services without using direct cash payments.

Users can create listings, upload product images, send exchange offers, chat in real time, and agree on trades. The goal of this project is to make local exchange easier, encourage reuse of unused items, and provide a practical marketplace template for communities and developers.


🚀 Why I Built This

Many people have unused items at home, but selling them is not always convenient. At the same time, someone else may need exactly that item and may have something useful to offer in return.

Swaply solves this by creating a simple barter-based platform where users can:

  • ✅ Exchange unused items without direct cash payments
  • ✅ Offer goods or services in return for other goods
  • ✅ Communicate through real-time chat
  • ✅ Create and manage listings easily
  • ✅ Build a more sustainable reuse-based community

Example:

“I can exchange my old monitor for a bicycle.”

“I can design your logo in exchange for your used laptop bag.”


🛠 Tech Stack

Area Technology Purpose
Frontend Next.js Modern React framework and routing
Language TypeScript Type safety and better development workflow
State Zustand Simple global state management
Database MongoDB + Prisma Flexible data storage and ORM
Real-Time Socket.IO Real-time chat and offer updates
Storage Cloudinary Image upload and optimization
Auth NextAuth.js Authentication and user sessions

✨ Key Features

graph TD
    A[User Authentication] --> B[Create Listings]
    B --> C[Upload Product Images]
    C --> D[Send Barter Offers]
    D --> E[Real-Time Chat]
    E --> F[Trade Agreement]
Loading

Main features

  • User registration and authentication
  • Product/service listing creation
  • Image upload support
  • Real-time chat between users
  • Barter offer system
  • Listing management
  • Responsive user interface
  • Open-source and customizable structure

📸 Screenshots

Screenshots will be added soon.


🧠 What I Learned

While building Swaply, I worked on several real full-stack development challenges:

  • Designing a marketplace-style database structure
  • Building real-time communication with Socket.IO
  • Handling image uploads with Cloudinary
  • Managing authentication and user sessions
  • Creating a responsive frontend with Next.js
  • Improving user flow for barter offers and trade agreements
  • Structuring a real project for public open-source use

📈 Roadmap

Planned improvements:

  • Improve listing filters and search
  • Add user rating and reputation system
  • Add better trade agreement flow
  • Add notification system
  • Add admin dashboard
  • Improve mobile experience
  • Add tests
  • Improve documentation
  • Add Uzbek and Russian language support
  • Prepare reusable modules for other barter marketplace projects

🤝 Contributing

Contributions are welcome.

You can contribute by:

  • Reporting bugs
  • Suggesting new features
  • Improving documentation
  • Fixing UI/UX issues
  • Refactoring code
  • Adding tests
  • Improving security

To contribute:

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Open a pull request

📄 License

This project is licensed under the Apache-2.0 License.


👤 Maintainer

Maintained by Asilbek Baxtiyorov.

Swaply is actively being developed as a real open-source barter marketplace project.

About

Open-source barter marketplace platform for exchanging goods and services without direct cash payments.

Topics

Resources

License

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors