Code Monkey home page Code Monkey logo

crush's Introduction

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

crush's People

Stargazers

 avatar

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.