You are on page 1of 26

TABLE OF CONTENTS

TOPIC PAGE

1.Introduction 2

2.Objective and Scope of 3


the project
3.therotical Background 4

4.systerm hardware and 8-9


software Requirement
i. Software 8
Requirement
ii. hardware 9
Requirement
5.Project flow chart and 10-12
mind map
6.Systerm Design and 13-24
implementation
i. Language Features 13-14

ii. Designing and 15-24


Coding
7.conclusion 25

8. References 26

1
INTRODUCTION

People have become more tech-savvy as a result of digitization and the


introduction of new technology. They now attempt to complete all their tasks
online. People started using this novel and convenient method of trading their
items a few years ago, and now it's part of life.

Today, you can find an app for nearly everything, including fundraising. With
smartphones reaching near-ubiquity in most parts of the world, charities, non-
profits, and non-governmental organizations are pushing their money –raising
campaigns to mobile devices through fundraising apps, responsive website
designs, and text-to-give programs.

It is not possible to determine the exact cost of establishing a buy-sell classified


mobile app for app development, the app's design, the features it includes, the
size, team structure, and tech stack, as well as the hiring android developers or
agencies and experience, and, most significantly, the hourly rate offered by
various companies in various locations.

Mobile classified apps, often known as online marketplace apps, are used by
those who want to purchase or sell anything. Customers can purchase items on
these apps after testing them out and contacting the proprietor.

In our project we have designed an app through which we sell household daily
needed appliances which are second hand or not needed by others to the poor or
middle-class people who can't afford to buy appliances.

Using the app is a breeze, whether you're listing products for sale, making a
purchase, or completing a payment. Taking images of things and posting them
with the appropriate descriptions and prices is all that's required of users. All
product categories and listings, as well as the owner's contact information, will
be included on the app dashboard.

Low and middle-income households are now at the center-stage of the e-grocery
battlefield amongst heavyweights, so we have designed an app named FOR
YOU through which we sell products to the needed people, middle class for
free, we have designed the app with the main aim of helping the people.

2
OBJECTIVE AND SCOPE

With technology always growing and changing it is now easier than ever to
fight poverty and support different organization in fun and unique ways. There
is no better way to fight poverty than with something most everyone has - a
phone.

 OBJECTIVE:

The main objective of this project is to create a app through which we sell
household daily needed appliances which are second hand or not needed by
others to the poor or middle class people who can't afford to buy appliances like
refrigerator, TV, grocery, Kitchen items, cupboards etc. Needed for once life
through our app for you", we sell these products to the people who is in need for
free. Our apps main aim is to fulfil the need of the poor. For the customers
benefit we sell the products just like any other customized app like OLX,
Amazon but without any payment features. Just like any other app our app
follows some protocols and feature for our customers to access.

3
THEORETICAL BACKGROUND

An ecommerce app sometimes referred to as a mobile commerce app is a piece


of software that allows customers to browse and purchase items from an online
store. Our app FOR YOU develops and operates an online classified
advertisements platform. The Company's consumer-to-consumer marketplace
provides a range of self-service functions to its users, who are able design ads
with pictures and videos, control their selling and buying activity via the FOR
YOU portal, display ads on their social networking profiles, access the site from
their mobile phone, and view their FOR YOU account in their local language.

 ABOUT PYTHON :

Python is a widely- used general-purpose, high-level programming language. It


was initially designed by Guido van Rossum in 1991 and developed by Python
Software Foundation. It was mainly developed for emphasis on code
readability. and its syntax allows programmers to express concepts in fewer
lines of code.

 Python can be used on a server to create web applications.


 Python can be used alongside software to create workflows.
 Python can connect to database systems. It can also read and modify files.
 Python can be used to handle big data and perform complex mathematics.
 Python can be used for rapid prototyping, or for production-ready
software development.

Python is a high-level, general-purpose programming language. Its design


philosophy emphasizes code readability with the use of significant indentation.
Python is dynamically-typed and garbage-collected. It supports multiple
programming paradigms, including structured (particularly procedural), object-
oriented and functional programming. It is often described as a "batteries
included" language due to itscomprehensive standard library.

4
PYTHON IN APP DEVELOPMENT:
Python is an excellent language for mobile app development because it's easy to
read and write, simple to understand, and powerful when solving complex
problems. It has a very comprehensive standard library that allows you to
connect the language with 3rd party APIs or modules.

Python can be used on various platforms such as iOS, Android, Windows


phones, and desktops.

Many Python frameworks help build mobile apps in a shorter time. Some of
them are Kivy, BeeWare, or PyQT. Additionally, Python is a great language for
prototyping and can test out new ideas on the go using an app.

Android applications are to be operated on the Android Operating System. To


start Android app development with Python, there are various platforms that
enable us to write the codes purely in Python. We can use python for web
development, app development, analysis and computation of scientific and
numeric data and software development.

Following are some of the platforms for Python Android Development:

 QPython
 PySide
 .PyMob
 .pydtdeploy
 Pyqtdeploy
 Kivy

And there are some more tools that help us write code that can run on the
Android operating system. All these platforms generate a native source code for
their supported platforms.

A device that can run Python - whether a laptop or desktop computer running
Ubuntu, Fedora, or MacOS or an actual mobile phone such as Nexus 5, Galaxy
S4, etc.

A text editor - several options, including IDLE, come bundled with Python.

If you're interested in the best code editors for Python, you can read our article
16 the Best Python IDES and Code Editors in 2022.

5
The simulators provide a simulation environment where you don't need a
physical device to run your code. Still, they come bundled with Android Studio
and Xcode.

 ABOUT SQL:

SQL stands for STRUCTURED QUERY LANGUAGE. SQL is a standard


language that was designed to query and manage data in relational database
management systems (RDBMSS). An RDBMS is a database management
system based on the relational model (a semantic model for representing data),
which in turn is based on two mathematical branches: set theory and predicate
logic. Many other programming languages and various aspects of computing
evolved pretty much as a result of intuition. In contrast, to the degree that SQL
is based on the relational model, it is based on firm foundation applied
mathematics. T-SQL thus sits on wide and solid shoulders. Microsoft provides
T-SQL as a dialect of, or extension to, SQL in Microsoft SQL Server data-
management software, its RDBMS.

If what you need is the ability to visualize and analyse your data in Excel-like
fashion, through graphs and charts, then you might consider creating an app
with your SQL data. To start with the SQL application development, we must
specify the server and the port in the connection string. The database is running
on a server (a computer) which we identify with a hostname or an IP address.
It's listening on a port (a number from 1 to 65535) for incoming connections.

The database application usually has many logical databases inside. Each of
those databases contains tables. So when we set up our connection, we should
also specify the name of the database we want to access. And for security
reasons, we must also provide a username and a password to be granted access
to the database.

 B2C. B2C mobile apps are the most commonly used ecommerce apps
today. They connect businesses selling goods and services to individual
customers. Examples include apps for online stores like Amazon and
Nordstrom.
 C2C. Similarly, C2C ecommerce apps connect two or more consumers so
they can exchange goods or services with each other.

6
 Push notifications. By enabling push notifications, you can notify
customers about restocked items, remind them about items still in their
shopping carts, and more.
 Search and browse functions. Whether it's searching for a specific item
or browsing the latest products, the point of an ecommerce app is to make
finding products as easy as possible
 Shopping card. All mobile commerce apps need a shopping cart where
customers can easily add items, change quantities, and so on.
 Customer support. Sometimes, customers need help navigating an
online store, whether they've made a mistake with their purchase, or
would like to initiate a return or exchange. That process is a whole lot
easier when there's some level of ecommerce customer service within
their mobile app.

7
SYSTEM HARDWARE AND SOFTWARE REQUIREMENTS

 SOFTWARE REQUIREMENTS:

SRS is a document that contains information about the functions and goals of
the future digital solution and its principles of operation. Based on this
document, the entire process of developing a software product is built and
followed by all participants in the development process; based on it, the design
is done, and development is carried out.

Software requirements establish the necessary agreements between users

(Customers) and developers (implementers) about what the system will do and
what should not be expected. The document may include procedures for
checking the received software for compliance with its requirements (up to the
content of test plans). These characteristics determine the quality and methods
of its assessment, security issues, and much more. Often the software
requirements are written in plain language. At the same time, there are semi-
formal and formal methods and approaches used to specify software
requirements. In any case, the challenge is to ensure that the software
requirements are precise.

 Microsoft Windows 7 SP1


 Microsoft Windows 10
 Microsoft Windows Server 2021SP2 Microsoft Windows Server 2019
 Microsoft Windows Server 2022

8
There are different types of operating systems like embedded, real-time,
distributed, single-user, multi-user, mobile, internet and much more. Full stack
web development services develop apps to operate on a mobile operating
system like Android and iOS. Some of the key examples of operating systems
are as follows:

1. MS Windows

2. MacOS

3. Linux

4. iOS

5. Android

6. CentOS

7. Ubuntu

 HARDWARE REQIREMENTS:
 PROCESSOR: Intel Core 2duo,13,15,17
 DEVICE: Windows 7/8/10

9
MIND MAP

10
FLOW CHART

Start

Buyer,Seller,Admin

Choose
Category

Select household
Appliance

Proceed to Buy Back to Menu

Stop

11
We have created this logo for our app FOR YOU with the deep meaning of
welfare for others. our concept is for the welfare of middle class and poor
people to supply them with household appliances for free to make their living
place better - a better sweet home (HOME FOR YOU)

12
SYSTEM DESIGN AND IMPLEMENTATION

LANGUAGE FEATURES:

 Interpreted
 There are no separate compilation and execution steps like C and C++
 Directly run the program from the source code
 Internally, Python converts the source code into an intermediate form called
byte codes which is then translated into native language of specific computer
to run it.
 No need to worry about linking and loading with libraries, etc.
 Platform independent
 Python programs can be developed and executed on multiple operating
system platforms.
 Python can be used on Linux, Windows, Macintosh, Solaris and many more.
 Free and Open Source; Redistributable
 High-level Language
 In Python, no need to take care about low-level details such as managing the
memory used by the program.
 Closer to English language; Easy to Learn .
 More emphasis on the solution to the problem rather than the syntax
 Embeddable
 Python can be used within C/C++ program to give scripting capabilities for
the program's users,
 Robust
 Exceptional handling features
 Memory management techniques in built

13
REQUIREMENTS

 User Management: App’s administrator must validate all new users and
remove any suspicious or fraudulent users.
 Product Management: The admin manages all products and services.
Product management can categorize products. The app has everything,
even items that have been sold, are in stock, or are overstocked.
 In-app Chat & Call: This feature allows users to communicate with
ease. Customers may easily connect with the seller regarding the goods,
discount, address, and other facts.
 Classified Ads Online: The Most Important Features The first step to
success is to make the app stand out. Choosing features for online
classified apps is critical because they directly affect development costs.
In the sections that follow, we'll look into the pieces that make up each
panel.
 User Panel: The user panel must contain key components to capture the
 User’s interest. When introducing functionality, consider the user's
 Preferences. These are as follows:
 Signup or Login: New users must register to use the app and access extra
features. They can do so by filling out the required information or using
their current social media account. They can log in using the provided
credentials.
 Buy or Sell the Product: Users can buy or sell items. Job boards,
electronics, real estate, furniture, autos, and clothes are just a few
examples.
 Search and Filters: Multiple filters can be used to rapidly find a product
in a category. They can also search for specific sellers or buyers.
 Notifications in real-time: Real-time notifications alert users to
important updates such as nearby merchants or buyers, lucrative deals,
discounts and offers, and other relevant information.
 Saving the Products or Ads: Users can save products and ads they like.
They can buy it later if it becomes available.

14
CODING AND DESIGN

import mysql.connector

import random

mycon-mysql.connector.connect (host="localhost", user="


root",passwd="Sairam-1234", database="project")

cursor mycon.cursor()

def create():

query="create table if not exists”

userdetails (userid varchar (10) primary key,

username varchar (20) not null, location varchar (15)

not null, emailid varchar (25), password varchar(10)

not null)

cursor.execute (query)

query=create table if not exists product (userid

varchar(10), prodid int primary key, prodname varchar (20) not null,

brandname varchar (15), years int, fault varchar (100) not null,

fixingcost int, foreign key (userid) references userdetails (userid))

cursor.execute (query)

query="create table if not exists

transaction (donator_id varchar (10), buyer_id varchar (10),

prodid int, purchase_date date, foreign key (donator_id) references


userdetails (userid),

foreign key (buyer_id) references userdetails (userid))"

cursor.execute (query)

query="create table if not exists

15
soldi tems (prodid int, prodname varchar (20) not null,

brandname varchar (15), years int, fault varchar (100) not null, fixingcost
int)"

cursor.execute (query)

def admin():

pass

def check_username (mobile):

sql = 'select userid from userdetails where

userid=%s'

c = mycon.cursor (buffered=True)

data = (mobile,)

c.execute (sql, data)

r = c.rowcount

if r == 1:

return True

else:

return False

def donate (mobile):

print("Welcome to Donation page. Kindly provide

the required details")

pid=random.randint (1000, 9999)

pname input ("Enter the product name:")

bname=input ("Enter the brand name (if unknown/not applicable then


type NA):")

year=int(input("Enter the year of purchase (if unknown type 0):"))

16
fault=input ("Enter the fault details:")

cost=int(input("Enter the approximate cost to fix it:"))

cursor.execute("insert into product values('{}', (), '0', '0',00', {})".

format (mobile.p id, pname, bname, year, fault, cost))

mycon . commit()

print("Product added successfully")

print("Your product ID is:",pid)

def search (mobile):

query="select prodname from product"

cursor.execute (query)

records-cursor.fetchall()

for prod in records:

print (prod[0])

product input("Enter the product same to send "

query="select from product where prodanes

data= (product,)

cursor.execute(query, data)

records=cursor.fetchall()

print("ProdID\Name\tBrandtrear\tFixing osticfale")

for prod in records:

print
(prod[1]."\t",prod[2],"\t",prod[3],"\",prod[4],"\t",prod[6],"\t",prod[5]}

cont=input("Do you want to buy any product?

Yes/No").lower ()

while cont!="yes" and cont!="no":

17
print ("Invalid entry!! Pls enter yes/no") cont=input("Do you want to
buy any product? Yes/No"). lower()

if cont=="no":

return

elif cont=="yes":

while True:

pid=int(input("Enter the product ID you wish to buy:"))

c = mycon.cursor (buffered=True)

query="select from product where

prodid=ts"

data= (pid,)

c.execute (query, data)

row=c.rowcount

if row=1:

I=c.fetchone ()

print("Donator phonenum is: ",r[0],"

Contact him/her for further details")

cont=input ("Do you confirm buying

this product? Yes/No").lower ()

while cont!="yes" and cont!="no":

print ("Invalid entry!! Pls enter yes/no")

cont=input("Do you confirm buying

this product? Yes/No").lower()

if cont=="no":

return

18
elif cont="yes"

donid=r[0]

purdate-input ("Enter the purchase date in YYYY-mm-dd


format")

c.execute("insert into transaction values ('(',')', (), '()')", format

(donid, mobile,pid, pu rdate))

mycon.commit()

c.execute("insert into solditems values({}, '{}','()', (), '{}',


())".format(x[1],[2],[3 1,[4],[5],[6]))

mycon.commit()

query="delete from product where

prodid=ts"

data= (pid,)

c.execute(query, data)

mycon.commit()

break

else:

print ("Invalid Product ID")

def user_options (mobile) :

while True

print("1.Donate\n2. Search\n3. Signout")

cheint (input("Enter your option:"))

if chal:

donate (mobile)

elif ch=2:

19
search (mobile)

elif ch==3:

return

else:

print ("Invalid Option")

def user_login():

mobile=input ("Enter your UserId (Mobile Number):")

if check_username (mobile):

password=input ("Enter the password: ")

sql = 'select userid, password from

userdetails where userid=ts' c = mycon.cursor (buffered=True)

data = (mobile,)

c.execute(sql, data)

r=c.fetchone ()

if password=r[1]:

print ("Login successful!!")

user_options (mobile)

else:

print ("Invalid Password! Try again")

else:

print ("Invalid Username! Try again")

def register():

print("Welcome to Registration page. Kindly provide the required


details for successful registration")

mobile=input ("Enter your mobile number. (This is your userid):")

20
name=input ("Enter your name: ")

location=input ("Enter your location:")

emailid=input("Enter your mailid: (Type NA if you don't have any):")

password=input ("Enter a password. (This is your

account password):")

cursor.execute("insert into userdetails

values({}, '{}','{}','{}','()')". format (mobile, name, location, emailid,


password))

mycon.commit()

def MainMenu():

while True:

print("__________________________”)

print('1. Admin Page\n2. User Login\n3. New

User Registration\n4. Exit''') op-int (input("Enter your option:"))

if op=1:

admin ()

elif op=-2:

user_login()

elif op 3:

register()

elif op==4:

break

else:

print ("Enter correct option")

21
OUTPUT

22
23
24
CONCLUSION

Our app for you that is for the welfare of others is a olx, amazon like well
featured app with easy mode of access. the main idea behind our app is for the
welfare of the poor and middle-class people, we exchange second hand
household appliances for free to the poor or middle classed for free. We hope
that we have used intelligence and humanity in creating our app for you. we
give household appliances like fridge, refrigerator, heater, sofa, telephone for
free using android app for you.

A good app allows the app owner to track sales using accurate metrics. By
generating detailed performance reports, the owner will be able to determine
which products are in great demand as well as establish the most trusted
vendors. Based on this, the owner will be able to find the most accurate
notifications to the users that are beneficial to them.

We have used python and SQL for creating our app coding with the help of
python the coding and app access will be a lot easier. we have done our best to
benefit the middle classed and created a well featured app like olx, amazon

25
REFERENCE

https://en.wikipedia.org/wiki/Amazon_(company)

https://en.wikipedia.org/wiki/OLX

http://learningindia.co.in http://slideshae.in

www.google.com

https://cplusplus.com/reference/

26

You might also like