Skip to content

Latest commit

ย 

History

83 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CommunitySharing - Community Sharing Platform

๐ŸŒ Connect. Share. Collaborate.

A platform that brings communities together through sharing and collaboration

Live Demo JavaScript PHP HTML


๐Ÿ“– About CommunitySharing

CommunitySharing is a community-driven platform designed to facilitate resource sharing, collaboration, and connection among community members. Whether you're looking to share tools, collaborate on projects, or connect with like-minded individuals in your area, CommunitySharing provides the digital infrastructure to make it happen.

โœจ Features

  • ๐Ÿ” User Authentication - Secure signup and login system
  • ๐Ÿ“ Community Connections - Connect with people in your local area
  • ๐Ÿค Resource Sharing - Share tools, skills, and resources with your community
  • ๐Ÿ’ฌ Communication - Direct messaging and community discussions
  • ๐Ÿ“ฑ Responsive Design - Works seamlessly across all devices
  • ๐Ÿ” Search & Discovery - Find resources and people easily
  • ๐Ÿ‘ค User Profiles - Create and manage your personal profile

๐Ÿ› ๏ธ Tech Stack

Frontend

  • JavaScript - Core functionality and interactivity
  • HTML5 - Structure and semantic markup
  • CSS3 - Styling and responsive design

Backend

  • PHP - Server-side logic and API endpoints
  • MySQL - Database management (assumed based on similar projects)

Deployment

  • Vercel - Frontend hosting and deployment

๐Ÿš€ Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v14 or higher)
  • PHP (v7.4 or higher)
  • MySQL or MariaDB
  • A web server (Apache/Nginx) or PHP built-in server

Installation

  1. Clone the repository

    git clone https://github.com/anirbandas-01/community-sharing-platform.git
    cd community-sharing-platform
  2. Set up the Frontend

    cd frontend
    npm install
    npm start
  3. Set up the Backend

    cd Backend
    # Copy the example configuration file
    cp config.example.php config.php
    # Update config.php with your database credentials
  4. Database Setup

    -- Create a new database
    CREATE DATABASE CommunitySharing;
    
    -- Import the database schema
    -- mysql -u your_username -p CommunitySharing < database/schema.sql
  5. Start the Backend Server

    # If using PHP built-in server
    php -S localhost:8000
    
    # Or configure your Apache/Nginx to serve the Backend directory
  6. Access the Application

๐Ÿ“ Project Structure

community-sharing-platform/
โ”œโ”€โ”€ Backend/                 # PHP backend server
โ”‚   โ”œโ”€โ”€ api/                # API endpoints
โ”‚   โ”œโ”€โ”€ config/             # Configuration files
โ”‚   โ”œโ”€โ”€ models/             # Data models
โ”‚   โ””โ”€โ”€ controllers/        # Business logic
โ”‚
โ”œโ”€โ”€ frontend/               # Frontend application
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ components/    # Reusable UI components
โ”‚   โ”‚   โ”œโ”€โ”€ pages/         # Page components
โ”‚   โ”‚   โ”œโ”€โ”€ services/      # API service calls
โ”‚   โ”‚   โ””โ”€โ”€ utils/         # Helper functions
โ”‚   โ””โ”€โ”€ public/            # Static assets
โ”‚
โ””โ”€โ”€ README.md              # Project documentation

๐Ÿ”ง Configuration

Environment Variables

Create a .env file in both frontend and Backend directories:

Frontend (.env)

REACT_APP_API_URL=http://localhost:8000/api
REACT_APP_NAME=CommunitySharing

Backend (.env or config.php)

<?php
define('DB_HOST', 'localhost');
define('DB_NAME', 'CommunitySharing');
define('DB_USER', 'your_username');
define('DB_PASS', 'your_password');
define('API_SECRET_KEY', 'your_secret_key_here');
?>

๐ŸŽฏ Usage

For Community Members

  1. Sign Up - Create your account with basic information
  2. Complete Profile - Add details about skills and resources you can share
  3. Explore - Browse available resources and community members
  4. Connect - Reach out to members for collaborations or resource sharing
  5. Share - List items, skills, or time you can contribute to the community

For Developers

// Example API call to fetch community resources
fetch('http://localhost:8000/api/resources', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
    'Content-Type': 'application/json'
  }
})
.then(response => response.json())
.then(data => console.log(data));

๐Ÿค Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contribution Guidelines

  • Write clear, concise commit messages
  • Follow existing code style and conventions
  • Add comments for complex logic
  • Update documentation for new features
  • Test your changes thoroughly before submitting

๐Ÿ› Bug Reports

If you encounter any bugs or issues, please open an issue with:

  • A clear description of the problem
  • Steps to reproduce the issue
  • Expected vs actual behavior
  • Screenshots (if applicable)
  • Your environment details (OS, browser, versions)

๐Ÿ“ License

This project is open source and available under the MIT License.

๐Ÿ‘ค Author

Anirban Das

๐ŸŒŸ Show Your Support

Give a โญ๏ธ if this project helped you or you find it interesting!

๐Ÿ™ Acknowledgments

  • Thanks to all contributors who help improve this platform
  • Inspired by the need for stronger community connections
  • Built with passion for open-source collaboration

๐Ÿ“ธ Screenshots

[Login Page]           [Dashboard]           [Resource Sharing]

๐Ÿ”ฎ Future Enhancements

  • Real-time chat functionality
  • Mobile application (React Native)
  • Advanced search filters
  • Rating and review system
  • Event management features
  • Integration with social media platforms
  • Multi-language support
  • Notification system
  • Analytics dashboard

๐Ÿ“Š Project Stats

GitHub stars GitHub forks GitHub issues GitHub pull requests

๐Ÿ“ž Support

For support, email anirban14093@gmail.com or join our community discussions.


Made with โค๏ธ for building stronger communities
CommunitySharing - Where neighbors become friends

About

Community-driven platform for local resource sharing and collaboration, built with JavaScript, PHP, and MySQL.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages