Skip to content

The source code for reza-taheri.ir a website I built to learn Django, It's available for exploration

License

Notifications You must be signed in to change notification settings

RezaTaheri01/game-store

Repository files navigation


Game Store Website

Welcome to the source code of reza-taheri.ir (currently temporarily unavailable), a Django-based website serving as an eCommerce gaming store. Explore a fully functional, customizable platform for purchasing games.

Prince of Persia


Table of Contents


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:

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 file for details.


About

The source code for reza-taheri.ir a website I built to learn Django, It's available for exploration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published