The backend that will partly represent a supermarket. It will contain some add-ons for the smartcart modules.
This is all the parts that are add-ons to the normal system, all the other parts, will normaly have an advanced implementation or they will be already implemented :
- Models: Cart.java, SecurityCode.java, Order.java
- Repository: CartRepository.java, OrderRepository.java, SecurityCodeRepository.java
- Services: CartService.java, OrderService.java, SecurityCodeService.java
- Controllers: CartController.java, OrderController.java, SecurityCodeController.java
- The order system can be replaced.
- The SmartCartCard is a temporary simulation of a payment system.
If you use the default mongodb uri, you have nothing to change, otherwise you should pass your mongodb uri as environment variable to the program called DB_URI.
Here are the environment variables you need to set in production environment.
ACTIVE_PROFILE=prod
DB_URI=

