Structure

We organize the folder by their function :

parent/
+--- app/             # This folder contains general JS controller, and php uploader
+---+--- uploader/    # image file uploader
 
+--- controller/      # contains JS controller for page, this controller related with view
+--- services/        # all Rest API and database transaction
 
+--- lib/             # lib is library, constaints all file depedency
+---+--- css/         # css style
+---+--- js/          # javascript library files
 
+--- view/            # all html view, this file related with controllers
 
+--- uploads/         # location for uploaded image 
+--- index.html

Last updated