This project is a web application for e-commerce that utilizes the Django framework. The aim of this application is to provide a platform for selling products online securely and reliably.
- Add new products and display them for sale.
- Create user accounts and manage login and logout.
- Add products to the shopping cart and complete the checkout process.
- Display details of previous orders for each user.
- Admin dashboard to manage products, users, and orders.
Ensure your system meets the following requirements before installing the application:
- Python 3.x
- Django
- Stripe
- PostgreSQL
- Clone the repository:
git clone https://github.com/faresemad/E-commerce-Application.git
- Build the application:
make build
- Run the application:
make up
- Run the application in detached mode:
make up-detached
The application can be configured by modifying the following files:
-
Configure Django settings in
/config/settings/base.py
. -
Configure Django Environment settings in
/.envs/.django
. -
Configure Postgres Environment settings in
/.envs/.postgres
. -
Configure Stripe Environment settings in
/.envs/.stripe
.
The application is structured as follows:
- `.envs` - Environment variable files for Django and Postgres.
- `apps` - Application-specific files.
- `config` - Settings for the application
- `compose` - Docker Compose configuration files.
- `requirements` - Application requirements files.
- `manage.py` - Django's command-line utility for administrative tasks.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.