Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eCommerce Platform with React, Redux, Django & Postgres

This project is an eCommerce platform built from scratch using React, Redux, Django, and Postgres. It includes essential features such as a shopping cart, product reviews, ratings, user profiles with order history, a checkout process with PayPal and credit card integration, JWT authentication, and more.

Features

  • Shopping Cart: Users can add products to a cart and proceed to checkout.
  • Product Reviews and Ratings: Users can leave reviews and rate products.
  • Top Products Carousel: Display a carousel of top-rated or featured products.
  • Product Pagination: Pagination for browsing through a large number of products.
  • Product Search: Search feature to find products based on keywords.
  • User Profile: User profiles with order history and details.
  • Checkout Process: Complete checkout flow including shipping and payment method selection.
  • Payment Integration: Integration with PayPal and credit card payments.
  • JWT Authentication: Secure authentication using JSON Web Tokens.
  • Redux State Management: Centralized state management with Redux, using actions and reducers.
  • TDD (Test-Driven Development): Developed with a focus on TDD principles.

Tech Stack

  • Frontend: React.js, Redux
  • Backend: Django, Django REST Framework
  • Database: PostgreSQL
  • Authentication: JWT (JSON Web Tokens)
  • Payment Integration: PayPal, Credit Card

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Node.js
  • Python
  • PostgreSQL

Installation

  1. Clone the repo

    git clone https://github.com/your_username/your_repository.git
  2. Install NPM packages (frontend)

    cd frontend
    npm install
  3. Install Python packages (backend)

    cd ../backend
    pip install -r requirements.txt
  4. Setup PostgreSQL database

    • Create a PostgreSQL database and update the database settings in backend/settings.py
  5. Run migrations

    python manage.py migrate
  6. Start the backend server

    python manage.py runserver
  7. Start the frontend server

    cd ../frontend
    npm start

Usage

  • Access the application at http://localhost:3000
  • Explore different products, add items to the cart, and proceed through the checkout process.
  • Leave reviews and ratings for products.
  • View your user profile and order history.

Testing

  • Unit tests and integration tests are implemented using tools like Jest, Enzyme (for React components), and Django's built-in testing framework.

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

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Your Name - @twitter_handle - email@example.com

Project Link: https://github.com/your_username/your_repository

Acknowledgements


About

eCommerce Platform with React, Redux, Django & Postgres

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages