Git Product home page Git Product logo

japanet's Introduction

JapaNet E-commerce Platform

JapaNet Logo

Table of Contents

About

JapaNet is a simple yet powerful e-commerce web application built with Flask. It aims to provide a platform for local businesses to showcase and sell their products online, catering to both local and international customers. Our mission is to promote local entrepreneurship while offering customers access to unique and high-quality goods.

Features

  • Market Diversity: JapaNet serves both local customers seeking locally-made products and international customers interested in unique items from different regions.
  • Local Business Promotion: We prioritize local vendors, helping them expand their reach and grow their businesses.
  • Secure Transactions: Our platform ensures secure payment processing through encrypted payment gateways, ensuring customer data safety.
  • User-Friendly Interface: With an intuitive interface, customers can easily browse products, place orders, and track shipments hassle-free.

Installation

To install JapaNet locally, follow these steps:

  1. Fork the Repository: Fork the JapaNet repository to your GitHub organization. This creates a copy of the repository under your GitHub username. You can fork the repository by clicking the "Fork" button on the GitHub page.

  2. Clone the Repository: Clone the forked repository to your local machine:

    git clone https://github.com/{your-Github-username}/JapaNet.git
  3. Navigate to the Project Directory:

    cd JapaNet
  4. Create and Activate Virtual Environment (Optional): For creating a virtual environment named "myenv" and activating it:

    python -m venv myenv  # Create virtual environment

    On Unix or MacOS:

    source myenv/bin/activate

    On Windows:

    .\myenv\Scripts\activate
  5. Install Dependencies:

    pip install -r requirements.txt
  6. Configure Environment Variables: If needed, configure any environment variables required by the application.

  7. Run the Application:

    python app.py

Usage

After installation, users can access JapaNet through their web browsers. They can browse products, place orders, and track shipments with ease.

Contributing

We welcome contributions from the community to enhance JapaNet. To contribute, follow these steps:

  1. Fork the repository and create a new branch.
  2. Make your changes and ensure they adhere to the project's coding standards.
  3. Test your changes thoroughly.
  4. Submit a pull request with a clear description of your changes.

Known Issues

Incomplete Image Deletion

  • Issue: When products are deleted from the administrator panel, associated images may not be deleted, leading to potential clutter and wasted storage space.

Limited Search Functionality

  • Issue: The search functionality for customers is limited to searching by brand, description, and price only. Additionally, there are no dedicated buttons or filters for these search criteria. Administrators do not have access to an implemented search algorithm.

PDF Rendering Delays and Image Retrieval Failures

  • Issue: Rendering PDF documents, such as receipts, using the pdfkit module may take longer than expected, especially when Bootstrap is not fully loaded. Additionally, image retrieval from the database for inclusion in PDF documents may fail intermittently. This is also dependent on an external software. Click here to access their GitHub documentation page.

Payment Integration for Testing Purposes Only

  • Issue: The payment option integrated with Paystack is intended for testing purposes only. Users are required to register and obtain a live key from Paystack to fully implement payment functionality for live transactions.

For more information on installing dependencies and resolving these issues, please refer to the project documentation or relevant external resources.

Related Projects

Dependencies

  • Flask - A lightweight WSGI web application framework in Python.
  • SQLAlchemy - SQL toolkit and Object-Relational Mapping (ORM) for Python.
  • Bootstrap - Front-end framework for building responsive and mobile-first websites.
  • pdfkit - Python wrapper for the wkhtmltopdf tool to convert HTML to PDF.

Examples and Demos

  • JapaNet Demo - Explore a demo version of JapaNet to see its features in action.

Walkthrough

Admin Page

  • Registration Page for Admin

Registration

  • Login Page for Admin

Login

  • Admin Dashboard

Dashboard

  • Add Product:
  1. Click on Products.
  2. Click on Add Product.
  3. Enter the details and attach image.
  4. Click on Add Product to add to database.

Addpro

AddProduct

  • Update the details of the Products including the images:
  1. Click on edit.
  2. Make the neccessary corrections.
  3. Click on update product to update the product in the database.

Edit

Update_Product

Customer Page

  • Customer Registration page

Customer_Registration

Customer_Login

  • Customer Homepage

Homepage

  • Customer Search

  1. The custemer can search by brand, description or price. (The price is not optimized)

Description

Brand

Price

  • Details of items
  1. Click on details button on the homepage Details button Details

  • Stock Availability
  1. When the stock reaches 0 in the Admin's database, Out of stock button is displayed instead

Admin_Stock Out_of_stock

  • Cart not in session/Empty Empty_cart

  • Add to cart
  1. You can add to cart from the homepage
  2. You can also add to cart from details page Carts

  • Payment before checkout
  1. When the user adds and item to cart, and go to the carts page, the checkout button will be greyed out.
  2. The user can only checkout after the payment has been confirmed. Cart Payment After_payment alt text

  1. The user can now print out the order bu clicking on Print recepit Print Receipt

  • Cart History
  1. The user can check the order history/details by clicking on Order History history

  1. Here the user can see list of their orders with status and also details of their orders history_view

  1. By Clicking on detais, the user can see the details of their orders history_details

Stock Level

  1. The Admin's product list will show a decrease in the stock when a customer makes an order. Stock_before

  1. Customer order. Customer_order

  1. Stock after the order has been made Stock_After

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any inquiries or feedback regarding JapaNet, please contact our team:

japanet's People

Contributors

brwngld avatar drpmartins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.