0% found this document useful (0 votes)
9 views

Medical shop report django -Mini

hi

Uploaded by

HamedRaza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Medical shop report django -Mini

hi

Uploaded by

HamedRaza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 38

Table of Contents

Page No.

Chapter 1. Introduction

1) Introduction to the System 4


2) Problem Definition 4
3) Aim 4
4) Objective 4
5) Goal 5
6) Need of System 5

Chapter 2. Hardware and Software requirement

1) Introduction 7
2) System environment 7
3) Software requirement 8
4) Hardware requirements 8

Chapter 3. System Analysis

1) Purpose 9
2) Project Scope 9
3) Existing System 9
4) Proposed System 9
5) System Description 10

Page 1
Chapter 4.Implementation issues

1) Python 11
2) HTML 13
3) Cascading style sheet(CSS) 16
4) Sqlite

Chapter 5. System Design


1) Introduction 21
2) Conceptual Design 22
3) ER-Diagram 23
4) Logical Design 23
5) Physical Design 24
6) Data Flow Diagram of “Online Medical Shop”
24

Chapter 6.User Screens


25-32

Chapter 7.Coding
33-113

Chapter 8. Conclusion
7) Features of “Online Medical Shop” 114
8) Benefits Accrued from “Online Medical Shop ” 114
9) Limitations of “Online Medical Shop” 115

Page 2
Bibliography

CHAPTER # 1
Introduction
Contents:

 Introduction
 Problem Definition
 Aim
 Objective
 Goal
 Need of System

Page 3
Introduction to the System:

The “Online Medical Shop Project” has been developed to override the problems
prevailing in the practicing manual system. This software is supported to eliminate
and in some cases reduce the hardships faced by this existing system. Moreover this
system is designed for the particular need of the company to carry out operations in a
smooth and effective manner.
This application is reduced as much as possible to avoid errors while entering the
data. It also provides error message while entering invalid data. No formal knowledge
is needed for the user to use this system. Thus by this all it proves it is user-friendly .
Online Medical Shop Management System, as described above, can lead to error free ,
secure , reliable and fast management system. It can assist the user to concentrate on
their other activities rather to concentrate on the record keeping. Thus it will help
organization in better utilization of resources.

Every organization, whether big or small, has challenges to overcome and managing
the information of Medicine, Customer, Medicine Stock, Sells.

Problem Definition:
Managing your Online Medical Shop System may seem tricky, but this is part of
Customer Service System (application support direct contact with customer)
.

Aim:
“To Manage Online Medicine Shopping”.

Page 4
Objective:

This software helps customer to find different medicines according category, price, and
subcategory. It is designed such a way that one can view all the updates of the medicines
from any place through online. The software will help in easy maintaining and updating
products in the website for the administrator. Also quick and easy comparison of different
products for the customers.

Goal:

The project is basically targeted at those people who would like online shopping and have an
Internet access.
Finally buyers curious in comparing the prices for various products for according our
budget.
To make a database that is consistent, reliable and secure.
To provide correct, complete, ongoing information.
To develop a well-organized information storage system.
To make good documentation so as to facilitate possible future enhancements.

Need of the System:

There is always a need of a system that will perform to purchasing medicines online
according to customer requirement.
This system will reduce the manual operation required to maintain all the records of booking
information. And also generates the various reports for analysis. Main concept of the project
is to enter transaction reports and to maintain customer records. Hence this software can be
used in any medical shop to maintain their record easily.

Page 5
CHAPTER #2
Hardware and
Software
Requirements

Contents:

 Introduction
 System environment
 Software requirement
 Hardware requirements

Page 6
Introduction:

In this chapter we mentioned the software and hardware requirements, which


are necessary for successfully running this system. The major element in
building systems is selecting compatible hardware and software. The system
analyst has to determine what software package is best for the “Online
Medical Shop System” and, where software is not an issue, the kind of
hardware and peripherals needed for the final conversion.

System Environment:

After analysis, some resources are required to convert the abstract system into
the real one. All the resources, which accomplish a robust
The hardware and software selection begins with requirement analysis,
followed by a request for proposal and vendor evaluation.

Software and real system are identified. According to the provided functional
specification all the technologies and its capacities are identified. Basic
functions and procedures and methodologies are prepared to implement. Some
of the Basic requirements such as hardware and software are described as
follows: -

Page 7
Hardware and Software Specification

Software Requirements:

 Technology: Python Django


 IDE : Pycharm/Atom
 Client Side Technologies: HTML, CSS, JavaScript , Bootstrap
 Server Side Technologies: Python
 Data Base Server: Sqlite
 Operating System: Microsoft Windows/Linux

Hardware Requirements:

 Processor: Pentium-III (or) Higher


 Ram: 64MB (or) Higher
 Hard disk: 80GB (or) Higher

Page 8
CHAPTER # 3
System Analysis

Contents:

 Purpose
 Project Scope
 Existing System
 Proposed System
 System Overview

Page 9
Purpose:

To manage the online medical shopping. It helps to customer to search and buy medicines
from anywhere. Also make payment on delivery for it. It helps to people to book desired
medicine at their prefer time.

Project Scope:

The project has a wide scope, as it is not intended to a particular organization. This
project is going to develop generic software, which can be applied by any businesses
organization. More over it provides facility to its customer. Also the software is going
to provide a huge amount of summary data.

Proposed System:

The Online Medical Shop system is available in the market that can serve customers to
book/purchase medicines online.

Page 10
System Overview:
The key features required in the system are as follows:

 Login: This module has a drop down list box from where we have to select
ADMIN or USER. The ADMIN has all the rights in the software including updating
the status of his site. The other fields in login are username and password. If the
username and password are correct then it is directed to next page.

 New user: This module is for the users who do not have their account. Here user is al-
lowed to create an account to login. The account creation is done by filling the regis-
tration form with user details such as name, phone, email etc.

 Product: This module has information regarding the medicines such as its name, cat-
egory, subcategory , image , price information, its features etc.The ADMIN has the
authority to Add, Delete, Update etc. The USER can only view the medicines avail-
able in the stock etc.

 Search: This module helps the customer to ease his search based on his budget or in-
terest. The search can be done on different categories and subcategories like category ,
subcategory , name, price etc

Page 11
CHAPTER # 4
Implementation issues

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 is a programming language that lets you work quickly and integrate systems more
efficiently.
Python is dynamically typed and garbage-collected. It supports multiple programming
paradigms, including procedural, object-oriented, and functional programming. Python is
often described as a "batteries included" language due to its comprehensive standard library.

Page 12
HTML

HTML (Hypertext Markup Language) is the set of markup symbols or codes inserted in a file
intended for display on a World Wide Web browser page. The markup tells the Web browser
how to display a Web page's words and images for the user. Each individual markup code is
referred to as an element (but many people also refer to it as a tag). Some elements come in
pairs that indicate when some display effect is to begin and when it is to end.

Page 13
CASCADING STYLE SHEET (CSS)

Cascading Style Sheets (CSS) are a collection of rules we use to define and modify web
pages. CSS are similar to styles in Word. CSS allow Web designers to have much more
control over their pages look and layout. For instance, you could create a style that defines
the body text to be Verdana, 10 point. Later on, you may easily change the body text to Times
New Roman, 12 point by just changing the rule in the CSS. Instead of having to change the
font on each page of your website, all you need to do is redefine the style on the style sheet,
and it will instantly change on all of the pages that the style sheet has been applied to. With
HTML styles, the font change would be applied to each instance of that font and have to be
changed in each spot.

CSS can control the placement of text and objects on your pages as well as the look of those
objects.

HTML information creates the objects (or gives objects meaning), but styles describe how the
objects should appear. The HTML gives your page structure, while the CSS creates the
“presentation”. An external CSS is really just a text file with a .css extension. These files can
be created with Dreamweaver, a CSS editor, or even Notepad.

The best practice is to design your web page on paper first so you know where you will want
to use styles on your page. Then you can create the styles and apply them to your page.

Page 14
Javascript

JavaScript is a programming languagecommonly used in web development. It was originally


developed by Netscape as a means to add dynamic and interactive elements to websites.
While JavaScript is influenced byJava, the syntax is more similar to C and is based on EC-
MAScript, a scripting language developed by Sun Microsystems.
JavaScript is a client-side scripting language, which means the source code is processed by
the client's web browser rather than on the web server. This means JavaScript functions can
run after a webpage has loaded without COMMUNICATING with the server. For example, a
JavaScript function may check a web form before it is submitted to make sure all the re-
quired fields have been filled out. The JavaScript code can produce an error message before
any information is actually transmitted to the server.
Like server-side scripting languages, such as PHP and ASP, JavaScript code can be inserted
anywhere within the HTML of a webpage. However, only the output of server-side code is
displayed in the HTML, while JavaScript code remains fully visible in the source of the web-
page. It can also be referenced in a separate .JS file, which may also be viewed in a browser.

Page 15
Django

Django is a web application framework written in Python programming language. It is based


on MVT (Model View Template) design pattern. The Django is very demanding due to its
rapid development feature. It takes less time to build application after collecting client re-
quirement.

This framework uses a famous tag line:The web framework for perfectionists with deadlines.

Page 16
CHAPTER # 5
System Design

Contents:
 Use case diagram
 Class Diagram
 Sequence Diagram
 Data flow diagram

Page 17
Use Case Diagram:

 Use case diagram consists of use cases and actors and shows the interaction
between them. The key points are:

 The main purpose is to show the interaction between the use cases and the
actor.

 To represent the system requirement from user’s perspective.

 The use cases are the functions that are to be performed in the module.

Manage Medicines

Manage Feedback

 Manage Booking

SYSTEM
ADMIN
Manage Users

Page 18
Use Case Diagram between ADMIN and SYSTEM:

Booking

Cancel

Search

SYSTEM
USER Feedback
Fig.5.2

Use Case Diagram between USER and SYSTEM:

Page 19
Class Diagram:

Fig.5.3

Page 20
Sequence Diagram For Administrator:-

Login Application Database

Login
:Request

:Validate()
:executeQuery()

Administrator Response
Show Result

Success:hide() Failed:show()

Fig.5.4

Page 21
Sequence Diagram For User:-

Login Application Database

Login
:Request

:Validate()
User
:executeQuery()

Response
Show Result

Success:hide()
Failed:show()

Fig.5.5

Page 22
Data Flow Diagram

A Data Flow Diagram (DFD) is a graphical representation of the "flow" of data through an
Information System. A data flow diagram can also be used for the visualization of Data
Processing. It is common practice for a designer to draw a context-level DFD first which
shows the interaction between the system and outside entities. This context-level DFD is then
"exploded" to show more detail of the system being modeled.

A DFD represents flow of data through a system. Data flow diagrams are commonly used
during problem analysis. It views a system as a function that transforms the input into desired
output. A DFD shows movement of data through the different transformations or processes in
the system.

Dataflow diagrams can be used to provide the end user with a physical idea of where the data
they input ultimately has an effect upon the structure of the whole system from order to dis-
patch to restock how any system is developed can be determined through a dataflow diagram.
The appropriate register saved in database and maintained by appropriate authorities.

Data Flow Diagram Notation

Function

File/Database

Input/output

Flow

Page 23
Page 24
ADD CATEGORY PAGE

Page 25
VIEW CATEGORY PAGE

Page 26
VIEW USER DETAIL PAGE

Page 27
VIEW PRODUCT PAGE

Page 28
VIEW CART PAGE

Page 29
CONFIRM BOOKING PAGE

Page 30
PAYMENT DETAIL PAGE

Page 31
CHANGE PASSWORD PAGE

Page 32
SEND FEEDBACK PAGE

Page 33
CHAPTER # 8
Advantages & Limitations

Advantages of “Online Medical Shop System”:

“Online Medical Shop System” provides various features, which


complement the information system and increase the productivity of the
system. These features make the system easily usable and convenient. Some of
the important features included are listed as follows:

 Intelligent User Forms Design


 Data access and manipulation through same forms
 Access to most required information
 Data Security
 Restrictive data access, as per login assigned only.
 Organized and structured storage of facts.
.
 Strategic Planning made easy.
 No decay of old Records.

Page 34
 Exact financial position of the Business.

Limitations of “Online Medical Shop System”:

Besides the above achievements and the successful completion of the project,
we still feel the project has some limitations, listed as below:

1. It is not a large scale system.


2. Only limited information provided by this system.
3. Since it is an online project, customers need internet connection to buy
products.
4. People who are not familiar with computers can’t use this software.

Page 35
CHAPTER # 8
Future Scope

FUTURE SCOPE

This web application involves almost all the features of the online shopping. The future im-
plementation will be online help for the customers and chatting with website administrator.

CONCLUSION

The project entitled “Online Medical Shopping” is developed using HTML, CSS and
Bootstrap as front end and Python Django and Sqlite database in back end to computerize the
process of online buying medicine products. This project covers only the basic features
required.

Page 36
Bibliography

BIBLIOGRAPHY

 Wikipedia

 https://www.geeksforgeeks.org/python-django/

 https://www.javatpoint.com

 https://www.python.org/

 https://www.tutorialspoint/

Page 37
 REFERENCE BOOKS

Two scoops of Django for 1.11 by Daniel Greenfeld’s and Audrey


Greenfield

Lightweight Django by Elman and Mark Lavin

Page 38

You might also like