Skip to content

This is an e-commerce Spring MVC web application for users to shop and order items online

License

Notifications You must be signed in to change notification settings

ZhengguanLi/crush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
ZHENGGUAN LI
Apr 6, 2019
e461244 · Apr 6, 2019

History

12 Commits
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Apr 6, 2019
Apr 6, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019
Mar 27, 2019

Repository files navigation

Crush E-Commerce

This is a maven-based Spring MVC e-commerce web application which supports user authentication/authorization, complete purchasing experience, and CRUD operations via Restful service and admin pages.

Live demo

Preview

Home page

User admin page:

update user

Menu admin page:

update menu

Update a meal:

update meal

Restful API page:

restful page

Restful example:

restful example

Login page:

login

Register page:

sign up

Payment page:

update meal

Payment success:

payment success

Getting started

Prerequisites

  • JDK
  • Intellij/Eclipse
  • Maven
  • Spring Boot
  • MySQL
  • Stripe Account

Usage

  • Populate database with crush.sql in MySQL

  • Set up datasource of your database in application.properties file

    # Datasource properties
    spring.datasource.url=jdbc:mysql://localhost:3306/<dbname>
    spring.datasource.username=<connection username>
    spring.datasource.password=<connection password>
    
  • Set up your stripe public/secret key in application.properties file

    # stripe key
    STRIPE_PUBLIC_KEY=<stripe public key>
    STRIPE_SECRET_KEY=<stripe secret key>
    
  • Set up your port number

    server.port=<your port number>
    
  • Run application

  • Open http://localhost:<port number> on browser

Note: by default in application.properties file, the port number is set to 5000

Deployment

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

About

This is an e-commerce Spring MVC web application for users to shop and order items online

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published