0% found this document useful (0 votes)
23 views16 pages

Python Programing Microproject

The Amazon Clone micro-project aims to create a simplified e-commerce platform using Python, replicating core functionalities like product browsing, user registration, and order placement. It enhances students' understanding of full-stack development and programming concepts while providing hands-on experience in building a functional application. The project also emphasizes problem-solving skills and lays the groundwork for future web development endeavors.

Uploaded by

ayushshinde450
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views16 pages

Python Programing Microproject

The Amazon Clone micro-project aims to create a simplified e-commerce platform using Python, replicating core functionalities like product browsing, user registration, and order placement. It enhances students' understanding of full-stack development and programming concepts while providing hands-on experience in building a functional application. The project also emphasizes problem-solving skills and lays the groundwork for future web development endeavors.

Uploaded by

ayushshinde450
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Micro-Project

On
Amazon Clone

SUBMITED BY

Name of Student Enrollment No


Shinde Ayush Sanjay 2216640183

UNDER GUIDANCE OF
Mrs.Palkar.N.M

DIPLOMA COMPUTER ENGINEERING

Yashaoda Shikshan Prasrak Mandal’s


YASHODA TECHNICAL CAMPUS SATARA
Academic Year 2024-25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MUMBAI

CERTIFICATE

This Certify that Mr./Ms. Shinde Ayush Sanjay


Roll No. 49 of Sixth Semester Diploma in Computer Engineerin (CO-6I)
Of Institute Yashoda Technical Campus Satara
(Code:1664) Has Completed the Micro-Project Work Satisfactory Programing in Python
(22616) for the Academic Year - 2024-2025 As prescribed in the MSBTE Curriculem.

Place: Enrollment No. :

Date: Exam Seat No. :

Examiner Subject Teacher Head of Department


ACKNOWLAGEMENT

We wish to Express our deep sense of gratitude to our Mrs.Palker.N.M her continuous
Encouragement,keen interest and able Guidance during the entire period of Project Work.

We are very much thankful to our Head of Deparment Mr. Jirange.R.B for kind co-operation and
for providing all the facalites for completing the project work.

We feel highly indebeted to “Hon.Principal Prof.Gavade.P.P ” for this motivation . We thanks


also to teaching and Non-teaching staff of our collage and we would like to express our special
thanks to my friends for their constant encouragement for completing their constant
encouragement for completing the same project
ABSTRACT

The Amazon Clone project is a web-based e-commerce platform designed to replicate the core
functionalities of the Amazon website. This clone enables users to browse products across various
categories, search for items, view detailed product information, add products to a cart, and proceed
with secure checkout and payment simulation. The platform supports user authentication,
allowing customers to register, log in, manage profiles, view order history, and track orders.
The system is built using modern web technologies, such as HTML, CSS, JavaScript for the
frontend, and a backend stack like Node.js/Express or Java (Servlets/JSP) with a database like
MySQL or MongoDB. Admin functionality is also incorporated for managing product listings,
inventory, and order processing.
This project aims to enhance understanding of full-stack development, database integration, and
user interface design while simulating a real-world e-commerce experience. It demonstrates the
ability to develop scalable, responsive, and interactive web applications.
CONTENT

Sr.
No Table of Content Page No.
1. Micro-Project Proposal 6

2. Micro-Project Project 7

3. Literature Review 9

4. Actual Resource Used 12


5. Amazon Clone Code 14
6. Conclusion 15
Micro-Project Proposol
Amazon Clone

1.0 Aim/Benefits of the Micro-Project

Aim: The aim of this micro-project is to develop a simplified Amazon Clone using Python that replicates
basic e-commerce functionalities such as product browsing, user registration and login, cart management,
and order placement. The project helps students understand the core logic behind online shopping platforms
and lays the foundation for full-scale e-commerce development.

Benefits:

1. Understanding E-commerce Logic


2. Improved Python Programming Skills
3. Problem-Solving and Logical Thinking
4. Foundation for Web Development
5. Project-Based Learning
6. Scalability and Future Scope

2.0 Course Outcome Addressed

The development of the Amazon Clone micro-project addresses the following Course Outcomes (COs):
CO1: Apply basic programming concepts to develop small-scale software applications.
CO2: Design and implement real-life problem-solving algorithms using appropriate logic.
CO3: Demonstrate effective use of data structures such as lists and dictionaries in programming.
CO4: Develop and test a mini-application to simulate a real-world software environment.
CO5: Enhance problem-solving, critical thinking, and self-learning skills through project-based
learning.

3.0 Proposed Methodology

To develop the Amazon Clone micro-project efficiently and systematically, the following methodology
was adopted:
Step 1: Problem Definition and Requirement Analysis
Step 3: Development
Step 4: Testing and Debugging
Step 5: Documentation and Finalization
Step 6: Future Enhancements (Optional)
4.0 Actual Plan

Sr.no Details of Activity Planned Start Date Planned Finish Date


1. Topic Discussion & Selection 15/01/2025 26/01/2025
2. Review of Litrature 26/01/2025 04/02/2025
3. Aim/Benefits &Importance 04/02/2025 09/02/2025
4. Resources Required 09/02/2025 15/02/2025
5. Analysis of Collected Data 15/02/2025 20/02/2025
6. Design of System 20/02/2025 26/02/2025
7. Coding & Testing of Modules 26/02/2025 01/03/2025
8. Coding & Testing of Modules 01/03/2025 05/03/2025
9. Coding & Testing of Modules 05/03/2025 08/03/2025
10. Coding & Testing of Modules 08/03/2025 11/03/2025
11. Integration of System Modules 11/03/2025 14/03/2025
12. Testing & Deployment of System 14/03/2025 20/03/2025
13. Complication of Report 20/03/2025 25/03/2025
14. Presentation of Seminar 25/03/2025 03/04/2025
15. Final Deployment of Submisson 03/04/2025 15/04/2025

5.0 Resource Required

Sr.no Name of Resource/ Material Specification Qty Remark


1. Hardware Resource Processer i4/HDD- 1
1TB/ RAM 8GB

2. Software Resource MS Office 2019 1


3. Any Other Resource Printer 1
Micro-Project Report
On
Amazon Clone
1.0 Rationale

This micro-project—Amazon Clone—is designed to help learners explore the foundational


concepts behind an e-commerce system. By developing a simplified version using Python, students can gain
practical experience in creating a functional application that mirrors real-world systems. It encourages
hands-on learning, logical thinking, and algorithmic problem-solving, which are essential skills in software
development.

2.0 Aim/Benefits of the Micro-Project

Aim:
The aim of this micro-project is to develop a simplified Amazon Clone using Python that replicates basic e-
commerce functionalities such as product browsing, user registration and login, cart management, and order
placement. The project helps students understand the core logic behind online shopping platforms and lays
the foundation for full-scale e-commerce development.

Benefits:

1) Understanding E-commerce Logic


2) Improved Python Programming Skills
3) Problem-Solving and Logical Thinking
4) Foundation for Web Development
5) Project-Based Learning
6) Scalability and Future Scope

3.0 Couse Outcomes Achieved

The Amazon Clone micro-project successfully fulfills the following Course Outcomes (COs):
CO1: Apply programming fundamentals to solve real-life problems.
CO2: Design and implement modular code for a functional software application.
CO3: Demonstrate data management using suitable data structures.
CO4: Test and debug software applications to ensure proper functionality.
CO5: Develop project documentation and explain the working of the developed application.
CO6: Work independently and in teams to complete a mini-project based on a given theme.

4.0 Literature Review

The concept of building an Amazon Clone is inspired by the increasing reliance on e-commerce
platforms in the modern digital world. Amazon, being one of the leading global online marketplaces, offers
a wide range of functionalities such as user authentication, product browsing, cart management, and secure
checkout. Understanding these core features provides a strong foundation for students and developers
aiming to build similar systems.
Several academic and practical resources were studied to understand the architecture and flow of e-
commerce systems:
1. Study of Existing E-Commerce Platforms:
• Platforms like Amazon, Flipkart, and eBay were analyzed to understand how product listings, user
sessions, and checkout processes are managed.
• The user interface and feature set were simplified to suit the console-based Python project.
2. Reference to Python Programming Concepts:
• Python’s built-in data structures such as lists, dictionaries, and functions were chosen for efficient
management of user data and product information.
• Tutorials and documentation from websites like GeeksforGeeks, W3Schools, and Programiz helped
in understanding how to build menu-driven console applications.
3. Micro-Project Examples and Case Studies:
• Mini-projects related to Library Management Systems, Online Food Ordering, and Shopping Cart
Simulations were reviewed to identify the best practices in modular coding, input handling, and system
flow.
4. Academic Syllabi and Outcomes:
• The micro-project is aligned with course outcomes focused on problem-solving, programming, and
system design.
• Literature from textbooks on Software Engineering and Object-Oriented Programming helped in
framing the system design and development approach.
5. Open-Source Implementations:
• Open-source mini-projects on GitHub and Python-based e-commerce simulations were studied to get
ideas on code structure, naming conventions, and user interaction logic.

5.0 Actual Methodology Followed

Step 1: Planning and Feature Selection


• Identified key functionalities such as:
o User registration and login
o Viewing products
o Adding items to cart
o Viewing cart and placing orders
• Decided to use Python for its simplicity and strong support for rapid development.

Step 2: Environment Setup


• Installed Python and set up a basic file structure for development.
• Used a simple console-based interface to simulate user interaction.

Step 3: Code Development


• Created modular functions for each feature:
o register(), login(), show_products(), add_to_cart(), view_cart(), and checkout()
• Used dictionaries to store product and user data.
• Used lists to manage the cart for each user session.
Step 4: Testing
• Conducted manual testing by running the program with various input scenarios:
o Valid and invalid login attempts
o Adding multiple items to cart
o Empty cart checkout handling
• Debugged and fixed logical errors to ensure smooth flow of the application.

Step 5: Output Verification


• Verified that each module functions as expected and integrates properly with others.
• Ensured that the final flow from login to order placement is seamless and user-friendly.

Step 6: Documentation
• Documented all steps, code, and screenshots of the program outputs.
• Prepared report sections like aim, rationale, outcomes, and application.

6.0 Actual Resource Used

Sr.No Name Resource Specification Qty


1. Referance Book PM Cherry 1

2. Internet For Collect Information 1

6.0 Skill Developed/Learning Outcome of the Micro-Project

By completing this Amazon Clone micro-project, the following skills and learning outcomes were
achieved:
Technical Skills Developed:
• Python Programming:
Gained hands-on experience with Python, including functions, loops, conditionals, lists, and
dictionaries.
• Modular Programming:
Learned to structure code into reusable and organized functions for better readability and maintenance.
• Logical Thinking and Algorithm Design:
Developed algorithms to handle real-life e-commerce processes like login, cart, and checkout.
• Basic Software Design:
Understood how to design and simulate real-world systems in a console-based environment.
• Data Handling:
Practiced managing user and product data using appropriate in-memory data structures.
Soft Skills Developed:
• Problem-Solving:
Tackled issues independently and applied step-by-step logic to build a working solution.
• Project-Based Learning:
Understood the importance of building a project from scratch, encouraging self-learning and
experimentation.
• Debugging & Testing:
Gained experience in identifying errors, testing code thoroughly, and improving software quality.
• Documentation and Presentation:
Learned to prepare a well-structured project report with clearly explained code and outputs.
Learning Outcome:
• Successfully simulated the basic functionality of an e-commerce platform.
• Demonstrated the ability to design, develop, and implement a mini-application using core Python
concepts.
• Gained confidence to move forward with more advanced development using GUI or web technologies.

7.0 Application of the Micro-Project

1. Educational Application
2. Skill Development
3. Portfolio Enhancement
4. Prototype for Further Development
5. Research and Innovation
CODE-

# amazon_clone.py

users = {}
products = {
1: {"name": "Laptop", "price": 50000},
2: {"name": "Smartphone", "price": 20000},
3: {"name": "Headphones", "price": 1500},
4: {"name": "Backpack", "price": 999},
}

cart = []
current_user = None

def register():
global users
username = input("Enter username: ")
if username in users:
print("User already exists.")
return
password = input("Enter password: ")
users[username] = password
print("Registration successful!")

def login():
global current_user
username = input("Enter username: ")
password = input("Enter password: ")
if users.get(username) == password:
current_user = username
print(f"Welcome, {username}!")
else:
print("Invalid credentials.")

def show_products():
print("\nAvailable Products:")
for pid, details in products.items():
print(f"{pid}. {details['name']} - ₹{details['price']}")

def add_to_cart():
show_products()
pid = int(input("Enter product ID to add to cart: "))
if pid in products:
cart.append(products[pid])
print(f"{products[pid]['name']} added to cart.")
else:
print("Invalid product ID.")

def view_cart():
if not cart:
print("Your cart is empty.")
return
print("\nYour Cart:")
total = 0
for item in cart:
print(f"- {item['name']} - ₹{item['price']}")
total += item['price']
print(f"Total: ₹{total}")

def checkout():
if not cart:
print("Cart is empty. Add items before checkout.")
return
view_cart()
confirm = input("Proceed to checkout? (y/n): ")
if confirm.lower() == 'y':
print("Order placed successfully!")
cart.clear()
else:
print("Checkout cancelled.")

def main():
while True:
print("\n--- Amazon Clone ---")
print("1. Register")
print("2. Login")
print("3. Show Products")
print("4. Add to Cart")
print("5. View Cart")
print("6. Checkout")
print("7. Exit")
choice = input("Enter choice: ")

if choice == '1':
register()
elif choice == '2':
login()
elif choice == '3':
show_products()
elif choice == '4':
if current_user:
add_to_cart()
else:
print("Please login first.")
elif choice == '5':
if current_user:
view_cart()
else:
print("Please login first.")
elif choice == '6':
if current_user:
checkout()
else:
print("Please login first.")
elif choice == '7':
print("Thank you for visiting!")
break
else:
print("Invalid choice.")

if __name__ == "__main__":
main()

Output:
CONCLUSION

The development of the Amazon Clone project has provided valuable insight into the core functionalities
and architecture of modern e-commerce platforms. By replicating the features of Amazon—such as product
browsing, user registration, cart management, payment integration, and order tracking—this project
demonstrates the practical application of full-stack web development principles.
Throughout the project, various technologies were used to create a user-friendly, responsive, and efficient
shopping experience. This included designing intuitive user interfaces, managing backend operations, and
ensuring database connectivity for real-time product and user data handling. The clone highlights the
importance of secure user authentication, a seamless checkout process, and organized product categorization
in online shopping systems.
In conclusion, the Amazon Clone project is a step toward understanding the complexity behind large-scale
e-commerce applications. It not only enhances technical and problem-solving skills but also encourages
innovation and scalability thinking. With additional features like personalized recommendations, admin
dashboards, and review systems, the project can evolve into a complete e-commerce solution.

You might also like