https://github.com/rezataheri01/game-store
The source code for reza-taheri.ir a website I built to learn Django, It's available for exploration
https://github.com/rezataheri01/game-store
backend bootstrap5 django django-rest-framework html-css-javascript python website
Last synced: about 1 year ago
JSON representation
The source code for reza-taheri.ir a website I built to learn Django, It's available for exploration
- Host: GitHub
- URL: https://github.com/rezataheri01/game-store
- Owner: RezaTaheri01
- License: mit
- Created: 2024-09-10T17:16:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-23T21:43:45.000Z (over 1 year ago)
- Last Synced: 2025-02-23T22:28:01.484Z (over 1 year ago)
- Topics: backend, bootstrap5, django, django-rest-framework, html-css-javascript, python, website
- Language: Python
- Homepage: https://aghreza01.pythonanywhere.com
- Size: 7.11 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
* * *
# Game Store Website
Welcome to the source code of [visit site](https://aghreza01.pythonanywhere.com), a **Django**-based website serving as an **eCommerce gaming store**. Explore a fully functional, customizable platform for purchasing games.

---
## Table of Contents
- [Features](#features)
- [Technologies](#technologies)
- [Installation](#installation)
- [Configuration](#configuration)
- [License](#license)
---
## Features
- π **Fully Functional eCommerce Store**: All essential store features.
- π **RESTful API**: Clean and efficient API for smooth integration.
- π© **Contact Form**: Reach out directly through the contact form.
- π **Fully Responsive Design**: Optimized for mobile, tablet, and desktop views.
- π **Multi-language Support**: Easy localization using Djangoβs translation tools.
- π **Dark Mode**: A sleek dark theme for night-time browsing.
- βοΈ **Customizable**: Highly configurable for specific needs.
- π **Language Switcher**: Quick language change from the footer.
---
## Technologies
- **Backend**: Django 5.1.1 with Python 3.11
- **Frontend**: HTML5, CSS3, JavaScript (jQuery, Bootstrap)
- **Database**: SQLite (default) for development, MySQL for production
- **Multi-language Support**: Integrated via `django.utils.translation` and **Rosetta** for translations
---
## Installation
### 1. Clone the Repository:
```bash
git clone https://github.com/RezaTaheri01/game-store.git
cd game-store
```
### Create a virtual environment and activate it:
```
python -m virtualenv venv
source venv/bin/activate
```
### 3. Install the dependencies:
```
pip install -r requirements.txt
```
### 4. There is a default superuser:
```
user : adminadmin
password : adminadmin
```
### 4. Alternatively remove db.sqlite3, apply migrations and create a superuser:
```
python manage.py migrate
python manage.py createsuperuser
```
### 5. Run the server:
```
python manage.py runserver
```
Access the site at http://127.0.0.1:8000/
Django Admin at http://127.0.0.1:8000/admin
Rosetta at http://127.0.0.1:8000/rosetta
Api at http://127.0.0.1:8000/api/schema/swagger (use superuser user and password)
## Configuration
- **SECRET_KEY**: Django secret key
- **DEBUG**: Set to False in production
- **ALLOWED_HOSTS**: Set the domain name for production
### To get activation code and reset password, complete below:
- **EMAIL_HOST**: SMTP server for sending emails
- **EMAIL_HOST_USER**: SMTP username
- **EMAIL_HOST_PASSWORD**: SMTP password
## β
Todo
- [ ] Customizable theme colors
## License
This project is licensed under the MIT License. See the [LICENSE](https://github.com/RezaTaheri01/game-store/edit/main/LICENSE) file for details.
* * *