thebergamo / ecommerce.js

Modern E-Commerce Platform for 21st century
ISC License
36 stars 9 forks source link

Proposal Structure #1

Open thebergamo opened 8 years ago

thebergamo commented 8 years ago

Brief

This issue is for discuss about how structured this project will be. For any proposal extensibility and easy maintenance need be the premises.

Points to discuss

OBS: New points of discuss can be added in this issue.

albertosouza commented 8 years ago

@thebergamo try to make this system with We.js as backend server (API) or full stack framework (for static requests). We.js have plugins, themes and others features need for one ecommerce systems.

thebergamo commented 8 years ago

@albertosouza thanks for your reply, I'm not 100% sure about using We.js, need see how it work more closely. But absolutely will consulting that for inspiration =D

In my mind I think for the backend an stack like: Hapi + Sequelize Frontend I'm a little confusing about how is the better choise, maybe using a system for process files and serve static content for the browser or angular way.

henriquesosa commented 8 years ago

Do you know VTEX ? It's a large ecommerce plataform and now they are trying to change the structure of their framework using separate API's to each service that they uses. Like: freight, payment, products, etc.

Why should we try something like this here? Using Hapi, we can divide, and develop each part at time.

thebergamo commented 8 years ago

@henriquesosa that is a good idea, but imagine it is a Platform for any user without advanced programming language deploy made simple.

The point behind using services is very good, but we need study a way with no pain to do this =D

henriquesosa commented 8 years ago

But the hardcode part is only present in the core of application. Is that a problem to the deploy?

thebergamo commented 8 years ago

@henriquesosa & @albertosouza see how I structure the project right now.

If all this services are in core app no problem =D

henriquesosa commented 8 years ago

I'm working in a draft to use Angular.js as our Front-end.

henriquesosa commented 8 years ago

I made this draft to discuss the services architecture of the application. img_20160107_240920869

thebergamo commented 8 years ago

the first draft of catalog is almost done =D