Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note for hesh-core

Database schema:

  • Points required for a particular product is stored in two different tables: "reward_perks" and "store_product". Make sure it is managed in business workflow. Allows flexibility but must be careful in managing this.

  • Review on delete rules

  • maybe add time as well to the dates

  • each user related stuff should have a deleted boolean, soo things are not actually deleted (for regulation or analysis)

  • CHeck all primary keys are done correctly

  • check database type are all done correctly

TODO

CI/CD

  • Include database verification during CI/CD

Docker

  • Since there are two entry points now (server and worker) Dockerfile needs to be updated and the main.go for worker needs to be fulfilled

Architecture

  • repository layer (speaks to database)
  • service layer (links http request to database, while processing business requests)
  • handler layer (handles http/api endpoints requests)
  • Need to validate transaction (through pos etc)

Reward/promotion flows (check notes on for all ideas/features that all merchants can do)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages