An open API service indexing awesome lists of open source software.

https://github.com/mejanh/django-ecommerce

Basic Ecommerce app with Django, postgresql, python3.9.
https://github.com/mejanh/django-ecommerce

django django-rest-framework python unit-testing

Last synced: 2 months ago
JSON representation

Basic Ecommerce app with Django, postgresql, python3.9.

Awesome Lists containing this project

README

          

# Ecommerce Web Application with Django

First Django Application after learning Python 😃. I am really enjoying Python and Django. Everything is same like Node.js except syntax difference and battery included in Django. It was faster than expressjs. Loved it.

**Features implemented till now**:

- Both Django Admin and Rest Framework at the same time from login and browsable api to Django Admin section
- Working Authenticated Product and Category Models
- Readonly products and categories
- Postgresql
- Unit Testing

I saw a library called [Graphene-Django](https://docs.graphene-python.org/projects/django/en/latest/) which is capable of adding graphql in django. Right now, I used Rest API architechture. So, Ignored it for now.

### Prequesties

- Used `pipenv` instead of `pip` package manager. `pipenv` felt more like Node.js `package.json`, so went for it. also, I could see how many packages/modules I installed and run custom scripts with `[scripts]` section. So, definitely recommend it.
- There are some default libraries need to be installed for django like "Pellow"

### Ecommerce Data Schema

![database schema](./public/ecommerce-schema.webp)

Source Link: https://resources.fabric.inc/blog/answers/ecommerce-database-design-example