GameNest is a gaming hub platform developed as a graduation project during a one-month internship. It allows users to explore a variety of games, add them to their cart, and manage orders. Admins can manage game listings, categories, and user orders.
- Browse Games: View available games organized by categories.
- Order Management: View all ordered games in a personal order history.
- Game Management: Create, edit, and delete games and categories.
- Order Approval: Review and accept or refuse user orders.
- Backend: Django (Python)
- Frontend: Jinja templates
- Database: PostgreSQL (using Psycopg2 as the ORM)
Follow these steps to set up and run the GameNest project on your local machine:
-
Clone the Repository:
git clone https://github.com/AhmedMaherElSaeidi/GameNest-Django.git cd GameNest-Django
-
Create and Activate a Virtual Environment:
python -m venv .venv .venv\scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Configure PostgreSQL Database:
- Ensure PostgreSQL is installed and running on your system.
- Create a PostgreSQL database named
gamenest_db
:CREATE DATABASE gamenest_db;
- Update your database configuration in the
settings.py
file:DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", "NAME": "gamenest_db", "USER": "user", "PASSWORD": "****", "HOST": "127.0.0.1", "PORT": "5432", } }
-
Run Migrations:
python manage.py migrate
-
Create a Superuser (for Admin Access):
python manage.py createsuperuser
-
Start the Development Server:
python .\manage.py runserver
-
Access the Platform:
- Open a web browser and go to
http://127.0.0.1:8000
to view the application. - Use the superuser credentials to log in to the admin panel at
http://127.0.0.1:8000/admin
.
- Open a web browser and go to