Come in and choose your favorite while the discounts are on
(anyway make sure you have enough money... ;)
To demonstrate my skills and abilities, I created a website.
The following features have been implemented:
- I orginiezed a menagment of this project by myself
- Jira - organizer and manage your task from staging to deployment
- The site consists of several apps that do their job
-- main - display of celestial objects (taking into account their categories)
-- cart - display of shopping list
-- users - interaction with users (login, logout, registration)
-- orders - create order
-- payment - payment for goods - When creating templates I used:
-- html5
-- jinja- to make the templates look beautiful I used:
-- bootstrap
-- css
- to make the templates look beautiful I used:
- To populate the database I used:
-- ORM
-- admin-panel
-- PostgreSQL - In order to be able to roll back in case of a fatal error (actually mostly as an artificial team experience), I used:
-- Git & GitHub - To keep it in Internet I use two ways:
- use Linux server and nginx
Management Jira
Client: Django, PosgreSQL, Docker
Server: Linux, nginx
The Celestial Objects Online Store offers a user-friendly interface for purchasing stars, planets, and other cosmic bodies. Below is an overview of the key pages on the website.
- Description: Displays the most popular items (by sales volume).
- Features:
- The header includes navigation elements: login/signup buttons, links to social media, and the shopping cart.
- A slider or product grid highlighting "best sellers."
- Screenshot:
- Description: Users can browse products by category (e.g., "Stars," "Planets," "Galaxies").
- Features:
- Responsive product grid with brief descriptions.
- Screenshot:
- Description: Detailed information about a selected celestial object.
- Features:
- Images, price, description, and specifications (mass, diameter, distance from Earth).
- "Add to Cart".
- Screenshot:
- Description: Authentication or registration form.
- Features:
- Email/password fields.
- Links for password recovery and signup.
- Screenshot:
- Description: Review selected items before checkout.
- Features:
- Remove items.
- Total cost and a "Proceed to Payment" button or "Continue shopping".
- Screenshot:
-
Description: Enter delivery details.
-
Description: EReview your order and confirm the order.
- Description: Integrated payment system (e.g., Stripe).
- Note: Use test card details for demo transactions:
4242 4242 4242 4242
(Expiry:12/34
, CVC:123
). - Screenshot:
I began by breaking down the project into structured milestones using Jira, which helped organize tasks and track progress efficiently.
- Клонирование репозитория
git clone https://github.com/Mart-igor/Online_store_of_celestial_objects.git
cd celestial_site
- Настройка виртуального окружения
Для Linux/MacOS:
python -m venv venv
source venv/bin/activate
Для Windows:
python -m venv venv
venv\Scripts\activate
- Установка зависимостей
pip install -r requirements.txt
- Восстановление базы данных
Дамп БД доступен в репозитории:
https://github.com/Mart-igor/Online_store_of_celestial_objects/blob/main/db
Импортируйте дамп БД (предварительно создав БД your_db_name
):
pg_restore -d your_db_name celestial_site.dump
- Настройка Stripe
Создайте файл.env
и добавьте ключи:
STRIPE_PUBLIC_KEY='ваш_публичный_ключ'
STRIPE_SECRET_KEY='ваш_секретный_ключ'
- Приобретение доменного имени
- Аренда сервера
- Подключение к серверу (спользуйте Termius или аналогичный SSH-клиент)
- Используются заранее подготовленные конфигурации для контейнеров
- Инструкция по настройке сервера
Feel free to send us feedback on Twitter or file an issue. Feature requests are always welcome. If you wish to contribute, please take a quick look at the guidelines!