Welcome to Homey - your ultimate destination for purchasing home items online, leveraging Flask, SQLAlchemy, Bootstrap, and HTMX to deliver an efficient e-commerce solution.
- User Authentication: Secure sign-up, login, and logout functionalities.
- Product Catalog: Explore and purchase various home items and categories effortlessly.
- Shopping Cart: Add items, manage quantities, and proceed to checkout seamlessly.
- Order Management: Track order history and manage account details with ease.
- Stripe Payments: Secure integration with Stripe for smooth transactions.
- htmx Integration: Enhances user experience with dynamic HTML content updates.
-
Clone this repository to your local machine.
-
Navigate to the root directory of the project.
-
Create a virtual environment in python.
-
Install the required packages by running:
$ pip install -r requirements.text
-
Create a
.env
file in the root directory of the project. -
Add the following line to the
.env
file, replacingYOUR_STRIPE_SECRET_KEY
with your actual Stripe secret key:STRIPE_SECRET_KEY=YOUR_STRIPE_SECRET_KEY
-
Run the following command to start the application:
$ flask run
-
Make sure you have Docker installed on your machine. If not, you can download and install it from https://www.docker.com/get-started.
-
Clone this repository to your local machine.
-
Navigate to the root directory of the project where the Dockerfile is located and add a .env file for storing STRIPE_SECRET_KEY.
-
Build the Docker image by running the following command:
$ docker build -t homey-app .
-
Once the image is built, you can run the Docker container using the following command:
$ docker run -p 5000:5000 homey-app
Access the application by opening your web browser and navigating to http://localhost:5000.
You can use this project as a template or reference for building your own e-commerce website. Here's how you can adapt it for your needs:
- Customize the product catalog and categories to fit your product offerings.
- Integrate other payment gateways or shipping APIs to expand the payment available.
- Implement additional features such as product reviews or better product recommendation
- Make about us and contact us pages.
- Implement Pagination.
- Make the application responsive for mobile devices.
- Implement user reviews and ratings for products.
- Optimize the application for performance and scalability.
Contributions are super welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.
Thank you for choosing Homey - Your Online Home Goods Store! Happy shopping! 🏠🛍️