Skip to content

iNewLegend/shop-catalog

Repository files navigation

Shop-Catalog

Is for:

  • Just 4 fun project, for a study and practice.
  • Trying different things and approaches, new ideas.
  • Trying to figure out new way at looking at things.
  • Be creative, anyway its has to be for fun.
  • Be strict but with a cool way.
  • Give any ideas chance to live.

Backend(s)

  • Core PHP
  • NestJS.

Frontend

  • $flow: Set of modules to communicate with DOM & Applying MVC.

Build-With

  • Babel
  • Webpack

Stick with principles

  • MVC
  • Modular
  • Well-structured

[ Demo ]

preview

Screen.Recording.2022-05-07.at.14.45.32.mov

[ Live ]

http://inewlegend.com:9090/

[ Install ]:

$ git clone https://github.com/iNewLegend/shop-catalog.git
$ cd shop-catalog
$ npm install

[ Frontend ]

$ npm run frontend:watch:server

[ Backend ]

The available backends:

  • /backend/inewlegend/php Simple, no composer, no dependency's backend:

    $ npm run backend:php:debug
    • For creating the database access this url http://localhost:8081/?admin/install/<mysql_host>/<mysql_username>/<mysql_password>/<mysql_database_name> and dont forget replace <> with yours real credentials. this will create the database and create simple mock catalog.
    • Rules:

      Code Access

      Type Modules Services Library
      Modules Yes No No
      Services Yes Yes Yes
      Library No No Yes
  • /backend/underyourskin/nestjs NestJS backend

    $ npm run backend:nestjs:debug
    • For configure the database access this file backend/underyourskin/nestjs/config/database.json