Skip to content

sulibor/mayocat-shop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mayocat Logo

Mayocat Shop is a modern e-commerce and marketplace management platform on the JVM.

Documentation is available on the project wiki, at www.mayocat.org.

A "getting started" guide for developers to build and run mayocat is available here.

Architecture

The high level philosophy behind Mayocat Shop architecture is described in this article. Specifically, Mayocat Shop is built on a lightweight stack and spirit :

  • Its foundation support library is the fantastic Dropwizard framework, so this mean Jetty + JAX-RS/Jersey + Jackson
  • Dependency injection is realized using the XWiki Component Manager.
  • The default persistency layer implementation targets RDBMS, using JDBI. The officially supported RDBMS is PostgreSQL.

One corollary of building on this stack is the fact the back-end service can be viewed as just a RESTful HTTP API. The user-facing back-office consumes this API and is built with AngularJS.

REST Principles

Mayocat API RESTful URL design follows the principle of "pragmatic" REST.

Namely:

  • By default JSON only. Exceptions on a per case basis
  • POST for partial updates (not idempotent operations)
  • Return 201 Created with location header on resource creation
  • "href" property in resources for linking (canonical URL)
  • "Resource expansion"
  • ...

Copyright 2012-2013 Jérôme Velociter and contributors

About

Modern e-commerce and marketplace management on the JVM

Resources

License

Stars

Watchers

Forks

Packages

No packages published