Loading repository data…
Loading repository data…
anfiquehussain / repository
A Django-based freelance marketplace platform connecting freelancers and clients, enabling project collaboration, management, and secure payments
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Freelance Marketplace Django is a powerful platform built on Django, facilitating seamless interactions between freelancers and clients. It provides a comprehensive solution for freelance service exchanges with a focus on security, efficiency, and ease of use.
This project utilizes Razorpay for payment gateway integration. Razorpay is a leading payment gateway provider in India, offering secure and seamless payment processing solutions.
Bootstrap 5 is used for frontend styling and layout. It provides a comprehensive set of responsive design components and utilities, making it easier to build modern and mobile-friendly web interfaces.
Before getting started, ensure you have the following prerequisites installed on your system:
git clone https://github.com/anfiquehussain/Freelance-Marketplace-Django.git
cd Freelance-Marketplace-Django
py -m venv env
env\Scripts\activate
python -m venv env
source env/bin/activate
pip install -r requirements.txt
Before running the application, configure the environment variables as per your setup by creating a .env file in the project root with the necessary values.
Here’s the refined README.md database configuration section without examples:
By default, this project uses SQLite3, which requires no additional setup. However, you can configure it to use other databases like PostgreSQL or MySQL by updating the DATABASES setting in settings.py.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / "db.sqlite3",
}
}
Ensure you install the necessary database drivers before switching databases.
For Razorpay integration, provide your Razorpay publishable and secret keys:
REZORPAY_PUBLISHABLE_KEY = 'your_razorpay_publishable_key'
REZORPAY_SECRET_KEY = 'your_razorpay_secret_key'
Configure the settings for static and media files:
STATIC_URL = '/static/'
MEDIA_URL = '/media/'
Ensure that you have proper file permissions and directory structures set up for media file uploads.
You may need to configure other settings based on your project's requirements, such as email configuration, security settings, and third-party API integration.
Before running the application, you need to apply the migrations to set up the database schema. Follow these steps:
Navigate to the project directory:
cd Freelance-Marketplace-Django
Activate the virtual environment (if not already activated):
env\Scripts\activate
source env/bin/activate
Check for Missing Migrations (Optional):
It's a good practice to check if there are any new migrations that need to be created. Run the following command to generate new migrations based on model changes:
python manage.py makemigrations
This command will inspect the models and create new migration files if any changes are detected. Review the changes and migrate them if necessary.
Apply Migrations:
Run the following command to apply migrations:
python manage.py migrate
This command will create the necessary tables in the database based on the models defined in the Django app.
Create Superuser (Optional):
If you want to access the Django admin interface, you can create a superuser using the following command:
python manage.py createsuperuser
Follow the prompts to create a superuser account.
Now, your database schema is set up, and you're ready to run the application.
To run the development server:
python manage.py runserver
Visit http://127.0.0.1:8000/ in your browser to access the application.
Contributions are welcome! Please follow these steps to contribute:
To run tests for the project, use the following command:
python manage.py test
This command will execute all the test cases defined in the project and provide feedback on their success or failure.
Testing Framework The project uses the Django testing framework for unit tests, integration tests, and functional tests. It provides a comprehensive set of tools for writing and running tests to ensure
This project is licensed under the MIT License - see the LICENSE file for details.
For any queries or further assistance, please contact Anfique Hussain V.