Code Monkey home page Code Monkey logo

jeeshop's People

Contributors

dependabot[bot] avatar gmlewis avatar muskacirca avatar remibantos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jeeshop's Issues

Authentication - Record Login attempts

Record login attempts number per user.
Fail after n (configurable) attempts.

This might be done by using a stored procedure instead of a Query for user authentication with JAAS.

Limited time sales

Study on limited sales impacts on Catalog model and/or definition of Sales domain entities

Store demo web application

I already have a store demo application using angular js and UI-router. Just have to modify its CSS a little bit before to push it.

Welcome page / Overview

Welcome page displays functionalities available in Admin application.
It is part of overview module.

JeeshopAdmin - Sort list of items

Add Items sort functionnality in following screens:

  • Users
  • Orders
  • Catalog items (catalogs, categories, products, skus, discounts)
  • Mail templates

Jeeshop-Admin - Newsletters management

Complete Emails, newsletters section in Jeeshop-Admin with newsletters management.
Integrate HTML editor to create a newsletter.
Add a due date field.
Add a Scheduler in backend to send newsletters with a configurable schedule time.

REST API - Business Exceptions vs logs

  • Handle logging of business exceptions properly (for sample in case of a WebApplicationException throwing 404 HTTP when a resource is not found) without of ejb rollback stack traces.

Catalog Management

Catalog elements (catalogs, categories, products, skus ...) management functionalities

Deployment - Add 2 deployment modes: monolith vs microservices

2 deployment modes enabled by configuration:

  • Microservice
  • Monolith

Microservices could match following existing domains:

  • user
  • order
  • catalog

Monolith mode matches the current one:

  • Back office jeeshop-admin application which depends on jeeshop-order, catalog and user modules.
  • Front office application which depends on the same.

Authentication and Authorization (JaaS)

Use and setup of JAAS in application server.
Configure authentication for protected REST resources. (BASIC or other)
Two Roles are defined for setup: jeeshop-user and jeeshop-admin.
jeeshop-admin protects critical administration tasks performed on resources.

User REST services

Resources definition and services implementation

  • New user registration process
  • Login
  • Account management

Jeeshop-Admin - Exception logged by REST Orders resource when accessing to Home page without authentication

22:36:49,691 ERROR [org.jboss.as.ejb3.invocation](default task-21) JBAS014134: EJB Invocation failed on component Orders for method public java.lang.Long org.rembx.jeeshop.order.Orders.count(java.lang.String,org.rembx.jeeshop.order.model.OrderStatus,java.lang.Long): javax.ejb.EJBAccessException: JBAS014502: Invocation on method: public java.lang.Long org.rembx.jeeshop.order.Orders.count(java.lang.String,org.rembx.jeeshop.order.model.OrderStatus,java.lang.Long) of bean: Orders is not allowed

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.