Skip to content

as4c/E-Commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot from 2024-03-22 09-47-17

E-Commerce Django Project

This is an eCommerce web application built with Django and React.js. It utilizes Django Rest Framework (DRF) for building RESTful APIs in the backend and incorporates features such as user authentication, product management, search functionality, order processing, and product categories. For order processing, the Razorpay is integrated.

check it out here https://bewra.vercel.app

Features

  • User Authentication: Users can register, log in, and manage their accounts.
  • Add and Delete Products: Admin users can add new products and delete existing ones.
  • Search Product: Users can search for products based on various criteria.
  • Order Management: Users can place orders, view their order history, and track order status.
  • Categories of Products: Products are categorized into different categories for easy navigation.
  • Razorpay Payment Gateway Integration: Integrated Braintree API for secure payment processing.

Technologies Used

  • Backend:

    • Django: Python-based web framework for building robust web applications.
    • Django Rest Framework (DRF): Toolkit for building RESTful APIs.
    • Razorpay : Payment gateway integration for processing orders.
  • Frontend:

    • React.js: JavaScript library for building interactive user interfaces.
    • React Router Dom: Library for handling client-side routing in a React application.

Screenshots

Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4
Screenshot 5 Screenshot 6

Installation and Setup

  1. Clone the repository:
git clone https://github.com/as4c/E-Commerce.git
  1. Change into the project directory:
cd ecommerce-django-project
  1. Set up the backend:
  • Create and activate a virtual environment.
  • Install the required Python dependencies:
    pip install -r requirements.txt
    
  • Update the database settings in the settings.py file.
  • Apply database migrations using python manage.py migrate.
  • Start the Django development server using python manage.py runserver.
  1. Set up the frontend:
  • Change into the ecomfrontend directory: cd ecomfrontend
  • Install the required Node.js dependencies: npm install
  • Start the React development server: npm start
  1. Open your web browser and visit http://localhost:3000 to access the eCommerce application.

Configuration

Before running the app, make sure to configure the following settings:

  • Razorpay : Set up your Razorpay api credentials in the appropriate Django settings file.
  • Database Configuration: Update the database settings in the settings.py file.

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature/fix: git checkout -b feature/my-feature
  3. Make your changes and commit them: git commit -m "Add new feature"
  4. Push the changes to your forked repository: git push origin feature/my-feature
  5. Open a pull request on the original repository.

License

This project is licensed under the MIT License.

About

This is a ecommerce sit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published