Giter VIP home page Giter VIP logo

jhenals / ecommerce-frontend-angular-v1-it Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 109.31 MB

This repository hosts a SpringBoot Angular Keycloak MySQL E-commerce web app tailored for an online bookstore, integrating Springboot backend services with Angular for frontend, Keycloak for authentication, and MySQL for data storage.

TypeScript 55.12% CSS 11.18% HTML 33.70%
angular keycloak

ecommerce-frontend-angular-v1-it's Introduction

Ecommerce Web Application with Springboot, Angular, Keycloak, and MySQL

Overview

This repository contains the frontend source code for an E-commerce web application built using SpringBoot for the backend, Angular for the frontend, Keycloak for authentication and authorization, and MySQL for the database. The application is specifically tailored for an online bookstore.

Features

  • User Authentication: Utilizes Keycloak for secure user authentication and authorization.
  • Product Management: Allows administrators to manage products, including adding, updating, and deleting products.
  • Shopping Cart: Users can browse products, add them to a shopping cart, and proceed to checkout.
  • Order Management: Supports order creation, tracking, and history for users.
  • RESTful APIs: Backend services are exposed via RESTful APIs, providing flexibility for future enhancements or integrations.

Technologies Used

  • SpringBoot: Java-based framework for building backend services.
  • Angular: TypeScript-based framework for building dynamic web applications.
  • Keycloak: Open-source Identity and Access Management solution for securing applications and services.
  • MySQL: Relational database management system for data storage.
  • Angular Material: Material Design components for Angular applications.
  • Bootstrap: Frontend framework for responsive design.

Features Images

Homepage: image

Book Catalog: image

Special Offers: image

Best Selling Books: image

Login/Registration Page image

Cart: image

Checkout Form: image

User's Order History: image

Admin Dashboard- Manage products: image

Admin Dashboard - Manage clients: image

Admin Dashboard - Manage Orders: image

Searchbar: image

Prerequisites

Before running the application, ensure you have the following installed:

  • Java Development Kit (JDK)
  • Node.js and npm
  • Angular CLI
  • MySQL Server
  • Keycloak Server

Installation

  1. Clone the frontend repository:

    git clone https://github.com/jhenals/ecommerce-frontend-angular-v1.git
  2. Clone the backend repository:

 git clone https://github.com/jhenals/ecommerce-backend-springboot-v1.git
  1. Navigate to the backend directory and run the SpringBoot application:

    cd <YOUR_PATH>\ecommerce-backend
    ./mvnw spring-boot:run
  2. Navigate to the frontend directory and install dependencies:

    cd <YOUR_PATH>\ecommerce-frontend
    npm install
  3. Run the Angular application:

    npm start
  4. Navigate to Keycloak directory and run Keycloak Server:

    cd <YOUR_PATH>\bin
    kc.bat start-dev
  5. Access the application in your web browser at http://localhost:4200.

Configuration

  1. Configure MySQL database connection settings and Keycloak settings in application.properties file located in the backend/src/main/resources directory.

  2. Configure Keycloak settings in the Angular environment files located in the ecommerce-frontend\environment.ts file.

Usage

  • Visit http://localhost:4200 in your web browser to access the application.
  • Use the provided login interface to authenticate. You can use the default admin credentials for testing or create a new account.
  • Navigate through the bookstore, add products to your cart, and complete the checkout process.

ecommerce-frontend-angular-v1-it's People

Contributors

jhenals avatar

Watchers

 avatar

ecommerce-frontend-angular-v1-it's Issues

Order functionality

  • add to Cart
  • remove from cart
  • jncrease quantity
  • decrease quantity
  • checkout

Comments

  • Check-out button should be placed at the end of the list of items added in cart

Admin UI

  • manage customers
  • manage orders
  • manage products
  • change order status

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.