Welcome to Code-Mart, a Django-based platform where developers can sell their code and digital assets. This repository provides everything you need to set up and run your own marketplace for digital goods.
Code-Mart offers a variety of features to enhance both the developer and customer experience:
- Role-Based Dashboards: Different interfaces for sellers and buyers to manage their activities.
- Subscriptions for Chat Access: Customers can subscribe for direct communication with developers.
- Live Previews: Users can see a demo of the code before purchasing.
- Secure Messaging: Built-in messaging system to ensure safe communication.
- Admin Dispute Resolution: Admin tools to handle disputes between buyers and sellers.
To get started with Code-Mart, you will need to set up your environment. Follow the steps below to get your instance up and running.
Before you begin, ensure you have the following installed:
- Python 3.6 or higher
- Django 3.x
- MySQL
- Node.js (for front-end assets)
- Razorpay account (for payment processing)
-
Clone the Repository
Start by cloning the repository to your local machine:
git clone https://github.com/Megog/Code-Mart.git cd Code-Mart
-
Set Up a Virtual Environment
Create a virtual environment to manage dependencies:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Requirements
Install the necessary packages:
pip install -r requirements.txt
-
Set Up Database
Configure your MySQL database. Update the
settings.py
file with your database credentials. -
Run Migrations
Apply the database migrations:
python manage.py migrate
-
Create a Superuser
Create an admin account to access the dashboard:
python manage.py createsuperuser
-
Run the Development Server
Start the server:
python manage.py runserver
Your application should now be running at
http://127.0.0.1:8000
.
Once your server is running, you can access the application through your web browser.
- Navigate to the registration page to create a new account.
- After registering, you can log in and start exploring the marketplace.
- Sellers can add new digital assets through their dashboard.
- Fill in the required details, including a live preview link and pricing.
- Customers can browse the marketplace, preview assets, and add them to their cart.
- Use Razorpay to complete the payment securely.
Code-Mart is built using the following technologies:
- Django: For the backend framework.
- MySQL: For the database.
- HTML5 & CSS3: For the front-end layout and design.
- JavaScript: For interactive elements.
- Razorpay: For payment processing.
- Chat Application: For secure messaging between users.
We welcome contributions from the community. If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For the latest updates and releases, please visit the Releases section. Here you can download the latest version and execute it to start your own Code-Mart instance.
If you have any questions or feedback, feel free to reach out through the issues section of this repository.
Thank you for checking out Code-Mart! We hope you find it useful for your projects. Happy coding!