Welcome to E-Store repository! This project is a fully functional e-commerce platform designed for selling sports gear and equipment. The website offers a seamless shopping experience with feature like product browsing, secure payments and image hosting.
-
User-Friendly interface: Clean and reponsive design using HTML and CSS for an optimal browsing experience.
-
Secure Payments: Product images are stored and reliable transactions.
-
Dynamic Content: Built with Django for robust backend functionality.
-
Cloud-Hosted Media: Product images are stored and delivered via Cloudinary.
-
Django: A powerful Python web framework for managing the server-side logic and database interactions.
-
Stripe: A payment gateway for handling secure online transaction.
- HTML5 & CSS3: For crafting a reponsive and user-friendly interface.
- Cloudinary: Cloud-base storage for uploading and delivering product images.
- Clone the Repository
git clone https://github.com/RaphaelApeh/E-store.git
- Set Up Virtual Environment
python -m venv .venv
source .venv/bin/activate # For Linux/Mac
.venv\scripts\activate # Windows
- Install Dependencies
pip install -r requirements.txt
Create a .env
file and add the following:
DATABASE_URL=""
DEBUG=False
SECRET_KEY=""
STRIPE_SECRET_KEY=""
STRIPE_PUB_KEY=""
EMAIL=""
EMAIL_PASSWORD=""
USERNAME=""
PASSWORD=""
CLOUDINARY_API_KEY=""
CLOUDINARY_SECRET_KEY=""
CLOUDINARY_NAME=""
- Make Migration and Migrate
python manage.py makemigrations
python manage.py migrate
- Add the
Whitenoise
runserver for development.
# settings.py
INSTALLED_APPS = [
...
"whitenoise.runserver"
]
- Start the Server
python manage.py runserver
Website Link
Contributions are welcome Follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature/name).
- Commit your changes (git commit -m "Commit Commit")
- Open a pull request.