The online clothing store with registration/authorization, a shopping cart, user-profile-settings, a configured admin panel and order payment functionality (Stripe). Implemented email-verification. Created API. Unit Tests are written. OAuth 2.0 added. For storage using PostgreSQL.
- Pyhton
- Django
- Django REST Framework
- PostgreSQL
- Redis
- Celery
Additional libraries are specified in the requirements.txt
file.
To begin, install: Python | PostgreSQL | Redis
Links are provided to the latest version of the tools.
Create a root directory on your computer, then open it in your code editor or terminal.
Next, write this command into the command line:
git clone https://github.com/S0fft/SyCloth-Shop.git .
You will see the project files appear in your directory.
Create a virtual environment:
python -m venv .venv
And activate it:
.venv\Scripts\Activate
Next, install packages:
python.exe -m pip install --upgrade pip
pip install -r requirements.txt
Using Migrations to Create a Database Structure. Load data from fixture for products and appearance other information.
python manage.py migrate
python manage.py loaddata <path_to_fixture_files>
After, launch Redis and Celery using these commands:
redis-server
celery -A store worker --loglevel=INFO
Then, run server:
python manage.py runserver
After starting the server, you can access the application by navigating to http://127.0.0.1:8000
in your browser.
These commands do the same thing as described above:
To begin, install: Python | PostgreSQL | Redis
Links are provided to the latest version of the tools.
Create a root directory on your computer, then open it in your code editor or terminal.
Next, write this command into the command line:
git clone https://github.com/S0fft/SyCloth-Shop.git
You will see the project files appear in your directory.
python3 -m pip install --upgrade pip
source ./venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python3 manage.py migrate
python3 manage.py loaddata <path_to_fixture_files>
redis-server
celery -A store worker --loglevel=INFO
python3 manage.py runserver
After starting the server, you can access the application by navigating to http://127.0.0.1:8000
in your browser.