Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aayushiahlawat/e-commerce-web-application
Angular & Spring Boot E-Commerce: Product listings, search, cart, checkout, auth. Built with Angular, Spring Boot, Java, MySQL, and Okta
https://github.com/aayushiahlawat/e-commerce-web-application
angular bootstrap css3 html5 intellij mysql postman springboot vscode
Last synced: 17 days ago
JSON representation
Angular & Spring Boot E-Commerce: Product listings, search, cart, checkout, auth. Built with Angular, Spring Boot, Java, MySQL, and Okta
- Host: GitHub
- URL: https://github.com/aayushiahlawat/e-commerce-web-application
- Owner: AayushiAhlawat
- Created: 2024-05-06T23:21:44.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-06T23:32:00.000Z (6 months ago)
- Last Synced: 2024-10-10T18:41:25.274Z (about 1 month ago)
- Topics: angular, bootstrap, css3, html5, intellij, mysql, postman, springboot, vscode
- Language: TypeScript
- Homepage:
- Size: 41.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# đī¸ E-Commerce Web Application
đ Welcome to the Full Stack E-Commerce Website built with Angular, Java Spring Boot, and MySQL! đ
## Overview âšī¸
This repository contains the code for an E-commerce website. It's built using Angular for the front-end, Spring Boot for the back-end, and MySQL for the database. This project was created as part of the Full Stack Java and Spring Boot course to learn more about Full Stack Development.## Features đ
- **Product Listing**: View available products by category and see product details.
- **Searching**: Search for products by keyword.
- **Pagination**: Navigate through product listings with pagination.
- **Shopping Cart**: Add, update, and remove products from your shopping cart.
- **Checkout Form**: Fill out required fields to checkout and save orders.
- **Login/Logout**: Secure authentication and authorization using Okta.
- **Members-Only Pages**: Access routes only available to authenticated users.
- **Handling Browser Refresh**: Store shopping cart data locally to prevent loss on refresh.
- **Order History**: View order history with secure API access.## Technologies Used đģ
- **Angular 16.2.1**: Front-end framework for single-page web applications.
- **TypeScript 5.1.6**: Adds static typing with optional type annotations to JavaScript.
- **Spring Boot 3.1.2**: Back-end framework for Java-based web applications.
- **Java 17.0.8**: Object-oriented programming language.
- **MySQL 8.0.17**: Relational database management system.
- **Okta 2.1.6**: Cloud-based identity and access management platform.## Getting Started đ
### Prerequisites đ ī¸
- **Node.js and npm**: Required for managing Angular dependencies.
- **Angular CLI**: Install globally for Angular application management.
- **Code Editor**: Choose from Visual Studio Code or IntelliJ.
- **Java Development Kit (JDK)**: Compatible with JDK 8, 11, or 16+.### Installation đĨ
1. Clone the repository: `git clone https://github.com/NesiCodes/Fullstack-Ecommerce-Web.git`
2. Navigate to the db-scripts directory: `cd 01-stater-files/db-scripts`
3. Execute each SQL script using MySql Workbench to create the database schema and tables.
4. Navigate to the back-end directory: `cd 02-backend/spring-boot rest api`
5. Open the project in IntelliJ IDE and let Maven automatically build and install dependencies.
6. Navigate to the front-end directory: `cd frontend/angular-ecommerce`
7. Install Angular CLI: `npm install -g @angular/cli`
8. Install front-end dependencies from package.json.### Usage đ
1. Start the back-end server:
- Navigate to the root of the project and execute `mvn spring-boot:run`.
- Alternatively, run the `SpringBootEcommerceApplication` class in IntelliJ IDE.
2. Start the front-end development server:
- Navigate to the root of the project and execute `ng serve`.
- Alternatively, run the application in Webstorm IDE.
3. Access the application in a web browser at [http://localhost:4200](http://localhost:4200).Happy shopping! đī¸