Skip to content

An Angular-Spring Boot ecommerce app with Spring Security implementation and Stripe integration.

Notifications You must be signed in to change notification settings

sinnedpenguin/angular-springboot-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

Angular-Spring Boot Ecommerce

Note: This project focuses on Spring Security implementation and Stripe integration and does not include a focus on the UI.

Getting Started

Prerequisites

  • Java 17
  • Maven
  • Angular
  • MS SQL Server Database
  • Stripe Secret Key

1. Clone the repository:

git clone https://github.com/sinnedpenguin/angular-springboot-ecommerce

Angular Frontend

1. Navigate to the frontend directory:

cd frontend
  1. Install dependencies
npm install

Spring Boot Backend

1. Navigate to the backend directory:

cd backend

2. Build the app:

mvn clean install

MS SQL Server Database / Stripe

1. Modify application.yml:

spring:
  datasource:
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: YOUR_DATABASE_CONNECTION_URL
    username: YOUR_DATABASE_USERNAME
    password: YOUR_DATABASE_PASSWORD
  jpa:
    show-sql: true
    properties:
      hibernate.dialect: org.hibernate.dialect.SQLServerDialect
    hibernate:
      ddl-auto: update
stripe:
  secret-key: YOUR_STRIPE_SECRET_KEY