- Project Overview
- Features
- Tech Stack
- Installation
- Usage
- Configuration
- Testing
- Contributing
- License
- Contact
This project was created within the context of the Code Institute Full-Stack Bootcamp, February 2024 intake.
The computer this project was developed on did not allow for the installation of node or npm. Developing using only vanilla JS is always an interesting constraint as it is easy to rely too much on contemporary front-end frameworks.
This is an online shop built with Django, allowing users to browse products, add items to their cart, and complete purchases. It has a limited admin functionality that allows certain users to add and or edit products.
I drew inspiration for the design from a widely recognized and highly popular online shopping platform. The objective of my implementation is to provide a comprehensive overview of the various facets involved in running an online shop. This high-level perspective aims to cover the essential components and functionalities without delving into the minutiae of each detail. Implementing every single aspect with full fidelity would be a significantly more time-consuming endeavor than the duration of this bootcamp permits.
By leveraging GitHub's robust tools for tracking progress and collaboration, our development team engaged in continuous interaction with users, gathering essential feedback at every stage. This feedback was instrumental in crafting detailed user stories, which were then meticulously divided into manageable tasks and organized into sprints.
- Order history
- Admin panel for managing products, orders, and users
- Backend: Django, Django REST framework
- Frontend: HTML, CSS, JavaScript
- Database: SQLite (for development), PostgreSQL (for production)
- Other: Docker (for containerization), AWS S3 (for serving static files), Gunicorn (as WSGI HTTP Server)
- Python 3.x
- pip (Python package installer)
- Docker (optional, for containerization)
-
Clone the repository:
git clone https://github.com/phildehovre/ci-django-shop.git cd ci-django-shop -
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Set up the database:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
- Visit the actual project to browse the shop.
- e-mail [email protected] to test the admin functionality
- Database Configuration: Update the
DATABASESsetting insettings.pyto configure your database.
No tests were implemented for this project.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/your-feature-name). - Open a pull request.
Copyright 2024 Philippe De Hovre, all rights reserved.
For any inquiries or issues, please contact [email protected].






