Giter VIP home page Giter VIP logo

store-back's Introduction

The Dress Store

Website for clothing store.

Screenshots


Thumbnail

Stacks

Python Version

Functions

  • Register/Login users
  • Confirm email address
  • Authorization with GitHub
  • Users have a profile
  • Add goods to basket
  • Payment for goods through stripe payment system.
  • Purchase history

Django

Django follows the Model-View-Template(MVT) design pattern. MVT determines the total structure and workflow of a Django application.

In an MVT architecture:

  • Model manages the data and is represented by a database. A model is basically a database table.
  • View receives HTTP request and sends HTTP response. A view interacts with a model and template to complete a response.
  • Template is basically the front-end layer and the dynamic HTML component of a Django application.

Diagram:

Thumbnail


PostgreSQL

Database shema:
Thumbnail


Celery

On project used celery with message broker redis for optimization email sending after registration users.

Before using Celery:

Thumbnail
After registration, the user had to wait for a response after sending the letter with email verification. Only after that was redirected to the login page.


After using Celery:

Thumbnail
Now the user is immediately redirected to the login page. And the task of sending a verification letter is taken over by celery


Deploy

For deploy a Django application on the production environment we will need a powerful and more secure web server.
In this case, we use Gunicorn as a WSGI(Web Server Gateway Interface) HTTP server and Nginx as a proxy server to serve application securely with robust performance.

Diagram:

Thumbnail


Stripe

To test the payment system, use the following card:
Thumbnail

store-back's People

Contributors

krbtsv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.