GitXplorerGitXplorer
c

ecommerce

public
5 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
73ae97e1c70d010b17f6a19d61982312a585273e

100% test coverage

cchirathr committed 6 years ago
Unverified
d55775f91a5e2ed05fcee891b3d96970e5b779f1

Test CheckoutPageView helper methods

cchirathr committed 6 years ago
Unverified
a10849cd13e4f59c19c15e5c36e8f05edf9d49f3

Test for banner image

cchirathr committed 6 years ago
Unverified
2445637daffae560218ffa5542814e1a1115438f

Tests for all the views

cchirathr committed 6 years ago
Unverified
35715b6a94a4462e22e569e87eb758cba1711118

Test for CartDeleteView

cchirathr committed 6 years ago
Unverified
ce4cb031e13ba6a65e18ca3f45eea4dd11ebe1ac

Test for CartAddView

cchirathr committed 6 years ago

README

The README file for this repository.

E-Commerce site

A simple E-Commerce shopping site

Screenshots

Home Products
Home Products
Login Shopping cart
Login Cart
Checkout
Checkout

Setup

This project only supports Python3. Install the python package requirements using pip.

pip install -r requirements.txt

Run the migrate command to create database tables.

python manage.py migrate

Use the createsuperuser command to create a user who has superuser privileges.

python manage.py createsuperuser

Finally run the server using the runserver command.

python manage.py runserver

Testing

Linter test using Flake8

flake8 .

Unit tests and Coverage report.

pytest

The html coverage report will be generated and saved in the htmlcov/ folder.