Cryptocurrency New
Cryptocurrency New
INTRODUCTION
Coin Gecko is a data provider and crypto tracking website for live
pricings, tickers, historical data, exchanges, events, trading volumes, global
markets, coin info, and more.
In this project, coin gecko api is used to monitor the current value of
crypto currency precisely.
Page 1
1.1 PROJECT OVERVIEW
In this project crypto currency value monitoring, initially home page is
created using HTML (Hyper Text Markup Language), CSS (Cascading Style
Sheets) and PHP, then the home page is connected to the back-end database
using MYSQL and to execute this project NODEJS and REACTJS frame
work is required.
This project aims to monitor the current value of the crypto currency.
There are many types of crypto currency, For example Bitcoin, Ethereum,
Solana, Tether etc. It updates the crypto currency value frequently and
accurately, in Indian rupees and dollars.
Home page
Contact page
Price fetching
Page 2
1.2 MODULE DESCRIPTION
HOME PAGE
In this module, a website is created using HTML, CSS, JS, PHP. HTML
is used for create basic webpage(content) of the crypto currency value
monitoring, CSS is used in styling the content of the HTML page, then
JavaScript for animation and effects in the website, PHP is used to collect
the response provided by the user and store it in the database.
CONTACT PAGE
In this module, HTML and CSS were used to create a contact page. In
this project the contact page helps the user to reach to solve a problem in this
website.
PRICE FETCHING
In this module is used to fetch the accurate prices through coin gecko
api and display back in the website. The user must refresh to extract the
current value.
Page 3
2.SYSTEM SPECIFICATION
COMPONENTS REQUIREMENTS
RAM 4 GB
COMPONENTS REQUIREMENTS
OPERATING SYSTEM Windows 10
BACK-END MySQL
Page 4
2.3 SOFTWARE DESCRIPTION
FRONT END TECHNOLOGIES
HTML (Hyper Text Markup Language)
Page 5
<html>: This is called the HTML root element. All other elements are
contained within it.
<head>: The head tag contains the “behind the scenes” elements for a
webpage. Elements within the head aren’t visible on the front-end of a
webpage. HTML elements used inside the <head> element include:
<style>-This html tag allows us to insert styling into our webpages and
make them appealing to look at with the help of CSS.
<title>-The title is what is displayed on the top of your browser when you
visit a website and contains title of the webpage that you are viewing.
<base>-It specifies the base URL for all relative URL’s in a document.
<noscript>– Defines a section of HTML that is inserted when the scripting
has been turned off in the users browser.
<script>-This tag is used to add functionality in the website with the help of
JavaScript.
<meta>-This tag encloses the meta data of the website that must be loaded
every time the website is visited. For eg:-metadata charset allows you to
use the standard UTF-8 encoding in your website. This in turn allows the
users to view your webpage in the language of their choice. It is a self
closing tag.
<link>– The ‘link’ tag is used to tie together HTML, CSS and JavaScript. It
is self-closing.
<body>: The body tag is used to enclose all the visible content of a webpage.
In other words, the body content is what the browser will show on the front-
end.
Page 6
CSS (Cascading Style Sheets)
CSS saves time: You can write CSS once and reuse the same sheet in
multiple HTML pages.
Page 7
PHP (Hypertext Preprocessor)
Page 8
PHP code is executed in the server.
It supports main protocols like HTTP Basic, HTTP Digest, IMAP, FTP,
and others.
One of the main reasons behind this is that PHP can be easily embedded
in HTML files and HTML codes can also be written in a PHP file.
The thing that differentiates PHP from the client-side language like
HTML is, that PHP codes are executed on the server whereas HTML
codes are directly rendered on the browser. PHP codes are first executed
on the server and then the result is returned to the browser.
The only information that the client or browser knows is the result
returned after executing the PHP script on the server and not the actual
PHP codes present in the PHP file. Also, PHP files can support other
client-side scripting languages like CSS and JavaScript
Page 9
REACTJS
React Features:
Use JSX: JSX is faster than normal JavaScript as it performs optimizations
while translating to regular JavaScript. It makes it easier for us to create
templates.
Virtual DOM: Virtual DOM exists which is like a lightweight copy of the
actual DOM. So for every object that exists in the original DOM, there is
an object for that in React Virtual DOM. It is exactly the same, but it does
not have the power to directly change the layout of the document.
Manipulating DOM is slow, but manipulating Virtual DOM is fast as
nothing gets drawn on the screen.
One-way Data Binding: One-way data binding gives you better view over
your application.
Component: A Component is one of the core building blocks of React. In
other words, we can say that every application you will develop in React
will be made up of pieces called components. Components make the task
of building UIs much easier.
Page
10
Performance: ReactJS use JSX, which is faster compared to normal
JavaScript and HTML. Virtual DOM is a less time taking procedure to
update webpages content.
BACK-END TECHNOLOGIES
MySQL
MySQL is an open-source relational database management system
(RDBMS). Its name is a combination of "My", the name of co-founder
Michael Widenius's daughter My, and "SQL", the abbreviation for Structured
Query Language. A relational database organizes data into one or more data
tables in which data may be related to each other; these relations help structure
the data. SQL is a language programmers use to create, modify and extract
data from the relational database, as well as control user access to the
database. In addition to relational databases and SQL, an RDBMS like
MySQL works with an operating system to implement a relational database in
a computer's storage system, manages users, allows for network access and
facilitates testing database integrity and creation of backups.
1. MySQLi (object-oriented)
Page
11
2. MySQLi (procedural)
3. PDO
3. Using PDO procedure: PDO stands for PHP Data Objects. That is, in
this method we connect to the database using data objects in Php
Page
12
XAMPP helps a local host or server to test its website and clients via computers
and laptops before releasing it to the main server. It is a platform that furnishes
a suitable environment to test and verify the working of projects based on
Apache, Perl, MySQL database, and PHP through the system of the host itself.
Among these technologies, Perl is a programming language used for web
development, PHP is a backend scripting language, and MariaDB is the most
vividly used database developed by MySQL. The detailed description of these
components
Components of XAMPP
Page
13
of database management systems. It was implemented using C language.
PHP stands for Hypertext Processor. It is said to be derived from
Personal Home Page tools, which explains its simplicity and
functionality.
Page
14
NODEJS
Node.js lets developers use JavaScript to write command line tools and
for server-side scripting. The functionality of running scripts server-side
produces dynamic web page content before the page is sent to the user's web
browser. Consequently, Node.js represents a "JavaScript everywhere"
paradigm,[6] unifying web-application development around a single
programming language, rather than different languages for server-side and
client-side scripts.
1. It’s easy to get started and can be used for prototyping and agile
development
2. It provides fast and highly scalable services
3. It uses JavaScript everywhere, so it’s easy for a JavaScript programmer to
build back-end services using Node.js
4. Source code cleaner and consistent.
5. Large ecosystem for open source library.
6. It has Asynchronous or Non-blocking nature.
Page
15
Advantages of NodeJS
Page
16
8. Corporate Support: Most of the well-known companies like Walmart,
Paypal, Microsoft, Yahoo are using NodeJS for building the applications.
NodeJS uses JavaScript, so most of the companies are combining front-end
and backend Teams together into a single unit.
Application of NodeJS:
Real-Time Chats,
Complex Single-Page applications,
Real-time collaboration tools,
Streaming apps
JSON APIs based application
Operating System
Page
17
An operating system acts as an intermediary between the user of a
computer and computer hardware. The purpose of an operating system
is to provide an environment in which a user can execute programs
conveniently and efficiently. ss
Page
18
Here is a look at some of the features in windows 10 as mentioned below:
Page
19
Major Functionalities of Operating System:
Page
20
3.SYSTEM ANALYSIS
3.1 EXISTING SYSTEM
In the existing system includes prediction website which have cybersecurity
breaches and hacker access are inevitable because of the digital nature of
cryptocurrencies, which will be vulnerable to cyber-attacks. Several ICOs have
already been compromised, resulting in losses of several hundred million
dollars to investors, only this summer where is high, low performance, not easy
to scale.
DISADVANTAGES
Page
21
4.SYSTEM DESIGN
4.1 DATA FLOW DIAGRAM
A data flow diagram also known as “bubble chart” has the purpose of
clarifying system requirements and identifying major transformation that will
become program in system design. Therefore, it is the starting point of the
phase that functionally decomposes the requirement specification down to the
lowest level of details. A DFD contains series of bubbles joined by lines.
DFD SYMBOLS
Page
22
4.1.1 DATA FLOW DIAGRAM
COINGECKO- API
GETS
CRYPTOCURRENCY VALUES
CONTACT US
CONTACT INFO
Page
23
4.2 ER DIAGRAM
Page
24
4.2.1 ER DIAGRAM
USER
VIEWS
THAN_DETAILS
NAME
EMAIL
MESSAGEE
NUMBER
Page
25
4.3 DATABASE DESIGN
Not Null
3 Phone VARCHAR 60 Phone
Not Null
4 Message VARCHAR 100 Message
Page
26
4.4 INPUT DESIGN
In this input design a form is created, within the form labels are
created to display a fixed text, 4 text boxes are used to get input from the
user and button is used to send the collected data.
OBJECTIVES OF INPUT DESIGN
Page
27
4.5 OUTPUT DESIGN
Page
28
5.SYSTEM TESTING
Page
29
UNIT TESTING
Page
30
INTEGRATION TESTING
As individual modules are successfully unit tested an integrated test
plan is developed to incorporate each module into overall software
structure. Integrated testing accomplishes the quality in assembling the
modules. It also tests relationship formed when different modules are
merged into the application.
Page
31
OUTPUT TESTING
When modules are integrated sample data for all the modules and
screens are entered in the system. Then reports developed for the
application are generated and verified whether the reports are up to the
specified requirements.
In this testing after successfully connecting with each module and all testing,
finally output testing is done from AWS to check the website and database for
proper functioning.
Page
32
5.1 SYSTEM IMPLEMENTATION
This phase is initiated after the system has been tested and accepted
by the user. In this phase, the system is installed to support the intended
business functions. System performance is compared to performance
objectives established during the planning phase. Implementation includes
user notification, user training, installation of hardware, installation of
software onto production computers, and integration of the system into
daily work processes.
Page
33
6.SCOPE OF FUTURE ENHANCEMENT
Page
34
7.CONCLUSION
The building blocks of this Minor Project “Crypto currency value monitoring”
was one of these opportunities. It gave us the requisite practical knowledge to
supplement the already known theoretical concepts thus making us more
competent as a computer science student. The project from a personal point of
view also helped us in understanding the following aspects of project
development:
The project also provided us the opportunity of interacting with our teachers and
to gain from their best experience.
Page
35
8.BIBLIOGRAPHY
BOOK REFERENCES
2. Alex Banks & Eve Porcello, “Learning React”, published by Shroff, Second
Edition, 2020
WEBSITE REFERENCE
https://aws.amazon.com
https://www.geeksforgeeks.org
https://www.w3schools.com
https://github.com/
https://www.javatpoint.com/
https://www.nodejs.org/
Page
36
9.APPENDICES
9.1CONFIGURATION
Page
37
CONFIGURATION
Page
38
FINAL FETCHING
This image displays the final fetching of crypto currencies at their current value.
Page
39
9.2SAMPLE CODING
DATABASE CONNECTIVITY
<?php
$server_name="localhost";
$username="root";
$password="";
$database_name="than123";
$conn=mysqli_connect($server_name,$username,$password,$database_name);
if(!$conn)
if(isset($_POST['save']))
$name = $_POST['name'];
$email = $_POST['email'];
$number = $_POST['number'];
$message = $_POST['message'];
Page
40
VALUES ('$name','$email','$number','$message')";
if (mysqli_query($conn, $sql_query))
Else
mysqli_close($conn);
?>
CONTACT.HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
Page
41
<!-- mobile metas -->
<title>bitcypo</title>
Page
42
<link rel="stylesheet" href="css/style.css">
<!-- responsive-->
awesome/4.7.0/css/font-awesome.min.css">
<!--[if lt IE 9]>
<script
src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><!
[endif]-->
</head>
<div class="loader_bg">
</div>
Page
43
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="searvices.html">Services</a>
<a href="testimonial.html">Testimonial</a>
<a href="works.html">Works</a>
Page
44
</div>
header -->
<header>
<div class="head-top">
<div class="container-fluid">
<div class="col-sm-3">
<div class="logo">
<a href="index.html">BitCYPO</a>
</div>
</div>
<div class="col-sm-5">
f"></i></a></li>
hidden="true"></i></a></li>
Page
45
<li> <a href="Javascript:void(0)"><i class="fa fa-instagram" aria
hidden="true"></i></a></li>
hidden="true"></i></a></li>
</ul>
</div>
<div class="col-sm-4">
hidden="true"></i></a></li>
<li>
src="images/menu_btn.png"></button>
</li>
</ul>
</div>
</div>
</div>
Page
46
</div>
</header>
<div class="contact">
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
<div class="row">
<div class="col-md-12">
<h2>Contact Us</h2>
</div>
</div>
method="post">
<div class="row">
Page
47
<input class="contactus" placeholder="Full Name" type="type"
name="name">
</div>
<div class="col-md-6">
name="email">
</div>
<div class="col-md-6">
name="number">
</div>
<div class="col-md-6">
name="message"></textarea>
</div>
<div class="col-md-12">
Page
48
<button class="send_btn" name="save" value="Submit">Send</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<footer>
<div class="footer">
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
<h3>Contact Us</h3>
<ul>
Page
49
<li> <a href="Javascript:void(0) "> <i class="fa fa-map-marker " aria
</a>
</li>
</a>
</li>
</a>
</li>
</ul>
<ul>
<li>Readable content of
</li>
</li>
</li>
Page
50
<li>content of a page
</li>
</li>
<li>layout
</li>
</ul>
</div>
</div>
<h3>Useful Link</h3>
<ul>
<li>Readable content of
</li>
</li>
</li>
<li>content of a page
Page
51
</li>
</li>
<li>layout
</li>
</ul>
</div>
</div>
<h3>Offices</h3>
<ul>
<li>Readable content of
<div class="col-md-12">
<h2>Contact Us</h2>
</div>
</div>
Page
52
method="post">
<div class="row">
name="name">
</div>
<div class="col-md-6">
name="email">
</div>
<div class="col-md-6">
name="number">
</div>
<div class="col-md-6">
name="message"></textarea>
</div>
<div class="col-md-12">
Page
53
</li>
</li>
</li>
<li>content of a page
</li>
</li>
<li>layout
</li>
</ul>
</div>
</div>
<h3>Newsletter</h3>
Page
54
<button class="subs_btn ">Subscribe</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>
Page
55