Skip to content

Lab work based on the course Internet Programming

License

Notifications You must be signed in to change notification settings

akib35/SmartHaat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartHaat - Livestock Ecommerce Platform

Welcome to our Livestock Ecommerce Platform SmartHaat, developed as part of our academic course "Internet Programming". This project is built using Vue.js for the front end and Django for the back end.


Table of Contents

Project Overview

Our SmartHaat is a small web app that is developed systematically using modern web technologies in step by step, such as--

  • Requirement Gathering
  • Planning
  • Designing
  • Modeling
  • Coding

Although, there are much more aspects such as testing, evaluating, verification and validation of which some parts are done partially because of the limitation in resource.

Practically, our aim is to provide a complete path of development of a platform for seamless buying and selling experience for livestock. This platform is designed to cater to farmers, livestock traders, and agricultural enthusiasts.

Features

  • Product Listings: Browse livestock listings with detailed descriptions and images.
    • Search and Filter: Advanced search and filtering options to find specific livestock.
    • Shopping Cart: Add livestock to the cart and manage purchases.
    • Order Management: Track order history and order statuses.
  • User Authentication: Sign up, login, and manage user profiles.
  • Admin Panel: Manage users, listings, and orders.
  • Scholar point: Various information from renowned scholars.
  • Payment Gateway: Online payment system

Technology Stack

  • Front End: Vue.js
  • Back End: Django, Django REST
  • Database: SQLite
  • Authentication: Django Rest Framework (DRF) with JWT
  • Styling: CSS3
  • APIs: RESTful API

Project Structure

└── design 0.1
└── design 0.2
└── .git
└── proposal
└── smart_haat1
│   └── Django Api
│   └── public
│   └── src

Installation

Prerequisites

  • Node.js(12.x or higher)
  • Python(v3.8 or higher)
  • Git

Clone the Repository

git clone https://github.com/akib35/SmartHaat.git
cd SmartHaat

Back End Setup

  1. Create a Virtual environment
cd smart_haat1/Django\ Api/hat
python -m venv env
source env/bin/activate 
  1. Install dependencies
pip install -r requirements.txt
  1. Run migrations
python manage.py migrate
  1. Create a superuser
python manage.py createsuperuser
  1. Start the Django server
python manage.py runserver

Front End Setup

  1. Navigate to the Dir
cd smart_haat1
  1. Install dependencies
npm install
  1. Start the Vue server
npm run serve

Usage

  1. Open your web browser and navigate to http://localhost:8000 for the Django admin panel.
  2. Access the Vue.js front end at http://localhost:8080.
  3. Register a new user account or login with your credentials.
  4. Browse livestock listings, add items to your cart, and proceed to checkout.

Contributing

This platform is developed as study or academic purpose. The aim of the course was mainly focused on the procedure of development of WebApps thus contribution to this project is limited.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Thank you for being interested in our Platform! If you have any questions, please feel free to contact us.