Git Product home page Git Product logo

ecart-app's Introduction

Ecart-app

Visit Ecart-app at :- http://apram-ecart.herokuapp.com/

It is a web-app built using SpringMVC, springboot and restTemplate

JSP and JSTL are used to dynamically prepare views for the application alongwith HTML and CSS.

Ecart-app is a client application in Microservices architehture that uses four REST APIs to access data from database

Rest APIs used:-

  1. AuhenticationService API:- This API provides endpoints for clients using which it can send username and password,and get response whether the username and password is valid or not on the basis of data present in database.

  2. PrductCatalogService API :- It interacts with the productsDB and provide various endpoints that can be used to perform operations like adding product, deleting product and getting the products from db.

  3. CartService API: It is the API which allows client to add, delete and retrieve various products to the cart, using the provided endpoints.

  4. OrderService API :- Order service API provides endpoints to record the order for the items present in the cart, in the orderdb.

Application Flow :-

The user needs to login first using the username and password, this validtion is done using AuthenticationServie API.

After login various products being sold are displayed and user can add them to cart using ADD TO CART button.

User can view the items added to the cart using VIEW CART button, and can delete the items from cart.

Afer viewing the items added in cart Place Oder button should be pressed to place the order for all the items present in the cart.

On pressing the button order is placed and amount that needs to be paid is calculated.

ecart-app's People

Contributors

apramsachdeva2 avatar

Watchers

 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.