Skip to content

harolz/shopping-cart-pusher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shopping-cart-pusher

This web application shows you how to program a simple shopping cart in React with a Java backend, using Pusher to add realtime features. Follow the tutorial here.

The stack:

  • Java 8
  • Maven as the build manager
  • Spring Boot with Spring MVC as the server-side framework
  • React in the front-end

Getting Started

  1. Clone this repository and cd into it.

  2. Start the application with one of the following commands (if you're using an IDE like Eclipse, just run the class com.pusher.ShoppingCartApplication):

    mvn spring-boot:run
    

    Or

    mvn package -DskipTests
    java -jar target/shopping-cart-0.0.1-SNAPSHOT.jar 
    
  3. Go to http://localhost:8080 and start playing with the app

Prerequisites

Built With

  • Pusher - APIs to enable devs building realtime features
  • Maven - Dependency Management
  • Spring Boot - To create the Spring application

Acknowledgments

  • Thanks to Pusher for sponsoring this tutorial.

License

MIT

About

Realtime shopping cart using Pusher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 45.4%
  • JavaScript 38.8%
  • HTML 9.1%
  • CSS 6.7%