Coder Social home page Coder Social logo

mamdouh93murad / my-store Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 232 KB

A Web Application for an online Store to sell products. The Application has been built using Angular and Angular-Material to give dynamic and responsive experience

JavaScript 3.63% TypeScript 72.30% HTML 23.62% CSS 0.46%
angular jasmine nodejs typescript material-ui

my-store's Introduction

Angular Store Web-App

MyStore Project - Angular App

Follow Me on LinkedIn

A Web Application for an online Store to sell products The Application has been built using Angular and Angular-Material to give dynamic and responsive experience.

Basic Info

  • use npm install in root folder to install the project dependencies and modules
  • use ng serve to get the project working and starting on localhost:4200 ng serve --port xxxx can be used to specify port number

Application Data

The Data are being stored and read from json files in the src/app/assets Folder.

  • Product Info are stored in the data.json file.
  • User Info are stored in the user.json file.

The Data Interfaces and Objects Structures are located in the src/app Folder.

  • The Product Data interface is located in the product.tsfile.
  • The User Interface is located in the login.ts file.
  • The Form Interface is located in the form.ts file.

Project Structure

The Application is built using set of components and services which handle the flow of data and UI-design. The Components are set into 3 different modules.

  • Main Module which handles the Login, Signup and Header Components.
  • Product Module which handles and contains the Product List, Product Info and Product Details.
  • Shopping Module which handles the Cart, Form and Confirmation Processes.

The Services are made up of two.

  • HTTP Service which retrieves Data from The JSON Files.
  • Store Service which handles the application functions such as Login, Signup and Data Details.

Interface Properities and Functions

A table containing the properities and functions of each application data-object and Interface used in the website.

Products Users
Elements 'ID, Name, URL, Description, Price, Amount Usernmae, Password
Functions "Retrieve, Update, Add2Cart, RemoveFromCart "Login, Sign up

UML diagram

The Flow of User Experience and Interaction in the website.

graph LR
A[Login] --> B((sign up))
B --> C((Login))
A -->C
C --> D{HomePage}
D --> F(ProductList)
F --> J(Product Details)
J --> E
F --> E
D ---> E(CartList)
E --Buyer Info Form-->G(Checkout)
G --> H(Confirmation)
H -->D
Loading

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.