ANGULAR
ANGULAR
“PRODUCT CATALOGUE”
Submitted in partial fulfillments for the
MASTER IN COMPUTER APPLICATION
Third Semester
(2024-25)
Submitted By
RAJESH CHANDRA SAHU
CERTIFICATE
DECLARATION
(Signature of Student)
CENTURION UNIVERSITY OF TECHNOLOGY AND MANAGEMENT
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompany a successful completion of any task
would be incomplete without the mention of people who made it possible, success is
the epitome of hard work and perseverance, but steadfast of all is encouraging
guidance. So, it is with gratitude that we acknowledge all those whose guidance and
encouragement served as beacon of light and crowned our effort with success. We
would like to thank JYOTI PRAKASH DAS , Principal of CUTM, chatrapur, for
providing an excellent academic environment in the college and his never-ending
support for the MASTER IN COMPUTER APPLICATION program. We consider
it a privilege and honour to express our sincere gratitude to our internal guide
RAKESH KUMAR DHALA(Lecture in MCA) , School of Applied Science (MCA)
for their valuable guidance throughout the tenure of this project work. We would
also like to thank all the faculty members who have always been very Co- operative
and generous. Conclusively, we also thank all the non-teaching staff and all others
who have done immense help directly or indirectly during our project.
SL NO INDEX PAGE NO
1 Introduction 1
2 Objective 3
3 Angular 4
Native script 5
Html 6
CSS 7
Js 8
4 Product Catalogue 10
5 Implementing 11
Module 12
Components 13
6 Output 14
7 Conclusion 19
8 Reference 20
ABSTRACT
VI
INTRODUCTION
1
Modern methods of purchasing include the process of channel research ,
speculation, and acquisition.
o According t the latest data
approximately 90% of customers want a smooth
and interactive experience across multiple channels and highlighting the
screens, importance of Omnichannel in today's business.
Using the right technology means giving consumers not only y want when they
what the want it, but also
e when they want it.
Problem Statement
The framework we choose was Angular 9 together with the MDC web.
This was a great idea but the challenge here was that the framework
we were going to learn was completely new and developing a whole
new product from scratch was also a big challenge. The entire project
was divided into three modules and each of the interns was working
on a different module. This was a team task and the main problem
which we faced as a team was to learn how to work in a team task. The
application was regularly synced and updated using Git. Before
starting the project development we planned the different phases of the
project, its database, backend server to be used, project flow, etc.
2
Objectives
The basic objective of this project was to get familiar with concepts such as:
User Authentication
Angular Modules
Angular Components
Angular Services
Use of database
Http Requests – GET, PUT, POST, DELETE
Methodology
Angular
Angular is an open-source web application framework designed by a group
of people and companies and the Angular Team atg G oo le. It is based on
typescript which is superset of JavaScript and is rewritten by the same
team that bui lt AngularJS i.e. angular AngularJS was a
version 1.0.
popular client-side framework used by JavaScript
engineers for a long time. Angular is nothing new but is
an improved version Angular 1 i.e.
S . All other angular versions are named as Angular 2, Angular 3,
AngularJ
and so on. Angular 9 is the latest version.
NativeScript:
4
Why we should use Angular together with NativeScript ?
7
Fig 1.10: Visual Studio code
Git
Git is popularly used system software where there are large
numbers of people work together on one project in parallel. It
is a distributed version control system that tracks all code
changes over time process entire software development. The
motivation behind this program is to speed the development
process across the team, supporting non-linear workflow &
maintaining data integrity. It is mind-based & therefore easy
to use and understand & work on, working with the mind
branches, reunions, reunions and more. It keeps the work
local on our system and global as well as at the origin.
8
PRODUCT CATALOGUE
Implementing Database
1. Users Interface
2. Products Interface
3. Cart Interface
4. Address Interface
10
Fig 4.2: Screenshot of Cart data
Modules
11
Fig 4.3 Angular Module Tree
Components
In Angular Components are the basic building blocks of UI. It has a
selector, template (.html), style (.css, .sass, .scss) and other properties
and method using which it specifies the metadata required for
processing.
12
To create a new component we need to make use of angular CLI. The
command for the same is “ ng g compoent ComponentName ”.
In this project only resolve guard was used. A service class is used
with router to resolve data during navigation. A resolve() method is
defined by the interface and it will be invoked when the navigation
starts. Before the final activation of the route, the router waits for
the data to be resolved.
13
OUTPUT:
Login Page
This page comprises of login with Google button, email, and
password field which is set by the user while registering him as a
new user and an option to create a new account. On this page header
will show only register button.
14
Register Page
This page allows the user to register as a new user by filling the
following details. After Successful registration user will be
redirected to Login Page. On this page, the same header will
dynamically change itself and will show only the Login button.
15
Products Dashboard
This page shows all the products and different categories of
products. On this page, the header will dynamically change itself
and will show only the name of user login, cart button, orders
button and logout button. User can add products to cart with their
quantity by default set to 1.
16
Products Details
Here Users can see product details, change the quantity, and add
the product to cart. Maximum quantity for a product is capped to
5.
17
User Cart Details
This page shows all the items in the cart added by a user. Here user
can vary the item quantity, add it to Save For Later WishList, add
more products to the cart, and at last, can proceed to buy. The data
is shown based on user id set while user logins or registers himself.
This page is part of a single component i.e. viewCart component
explained above, that dynamically changes its view based on URL.
If the shopping cart is empty, then proceed to buy button will
be disabled. Pagination is used to show more products to the user.
18
Conclusion
The workplace was very spurring and it was a lot of rousing to perceive
how a portion of the engineers had the option to autonomously execute
their inclinations and plan, and perform and execute their own tests. It was
an astonishing encounter to be a piece of building the application that we
use and learning the foundation usefulness of how the client takes a
gander at things and what the dynamic hand is returning to.
19
REFERENCES
5. https://www.tutorialrepublic.com/css-tutorial/,
9. http s://angular.io/ ,
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50