Skip to content

ChSergeiG/shoppy

Repository files navigation

Internet store template

Stack

Backend

  • Spring
    • S. boot web for rest api
    • S. boot jooq to setup jOOQ
    • S. actuator to manage app via REST in f.e. Prometheus
    • S. security to handle authentication and secure endpoints
  • JWT to operate authorization tokens
  • Liquibase to keep code and DB consistency
  • jOOQ to keep DB and code consistency and simple DAO way to do SQL
  • Swagger oAPI to represent and formalize API of app
  • Mapstruct to generate mappers for models in compile-time

Frontend

  • Typescript
  • React
  • Effector as global store
  • MUI
  • Axios

Delivery

Setup

locally

  1. Start ./compose/postgre-compose.yml for DB app instance
  2. Start ./gradlew :backend:bootRun for backend instance
  3. Start ./gradlew :frontend:npm_start for frontend instance
  4. To route requests between apps it is possible to use nginx: nginx -c ~/this_project_folder/nginx/nginx.conf

in docker

  1. Build backend image: ./scripts/build-back.sh
  2. Build frontend image: ./scripts/build-front.sh
  3. It is possible to
  4. ???
  5. PROFIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published