4.) Also in https://github.com/MitocGroup/deep-microservices-todo-app. Is "Directory Layout" part up to date with the recent changes?
Or are "deep.ng.root" and "deep-microservices--app" used together, because I see in "Directory Layout" inside readme that there are some present in deep.ng.root" and not in "deep-microservices--app" but there are some that are not present in deep.ng.root" but present in "deep-microservices--app". Which directory should I edit if I would be using the sample apps as a skeleton? Could be both?
deep.ng.rootis basically the microapp that loads AngularJS (v1), so in theory you shouldn't do anything there.
deep-todo-appis the application that you should be looking into and making changes (or using as reference to build new stuff)
6.) How does the frontend work and talk to the backend. Could dig this up but should be in the docs.
7.) How to create Backend/src sources like SayHello and Backend/src/Task /Create, /Delete, /DeleteCompleted, /MarkAll, /Retrieve, and /Update? I noticed node_modules so maybe through npm install.
8.) Related to #7. And where are the actual codes (I have to create or pre-created for use) that saves data to DB or how do they (Backend sources) work?
9.) I see Frontend/package.json and some part of the todomvc are installed through there but how was angularjs installed? Where are the routes, ng-app, and initializing the angular app?
In relation to #7 too. For example I'm going to create a backend source that will use some S3 upload from a form in the front-end. How could I do that?
I think to sum it all up. A step by step guide on how to create the todomvc app from the deep-helloworld(Skeleton) app. AND a simple app from scratch tackling CRUD(DynamoDB), S3 upload. Without using other apps like todomvc and deep-helloworld skeleton.
Do I need the dist or bundled copy of a Nodejs app or frontend app?
On deep-todo, deep-hello-world. Are the front-ends Angular2(not yet familiar) already; or just a DEEP structure and implementation?
Frontend/js/app/angular, but you can start with AngularJS v2 instead or maybe React, it's totally up to you. Just make sure that the path is something like
Wow. Thanks a lot @eistrati . These surely did. :)
They came up while I'm digging into deep-todo and deep-hello-world structure and codes. I guess others will also benefit. :)
Regarding Frontend Angular1. I was comparing my other old Angular1 apps. DEEP's is totally different.
For example where is (ng-app="surveyApp") and index.html for Angular1,
and the structure and codes are different. My guess is the codes are a bit different because of ES6 format.
But I noticed that an app.js in my Angular1 apps is separated by files or by code blocks in DEEP's.
I am planning to implement AureliaJS for the frontend. I could use AWS JS SDK for browser with AureliaJS but I would like to integrate Lambda for some use case. This is the reason I'm looking for how does Backend and Front-end communicates and works. Together with the AWS codes or calls in deep-framework.
In this case. Would I be creating deep.aurelia.root in replacement for deep.ng.root? I also need to discover how to do that. :)
I am also looking for documentations for
"TaskModel.createItem(request.data, (err, task)" which I guess is the one calling the deep-framework Lambda code/function to Insert the task title and completed status in DynamoDB
"this.kernel.get('db').get('Task')" which I guessed defines the Json structure or model from Task.json file.
If we didn't have the Deep-TODO app. Where could I look for: For example "createItem()" or "deleteItem()" and other functions?
frontendEngineis by default
deep.ng.root)- it is an expected behaviour, since the
deepifyis reading the
deepkg.jsonand the folder is, in fact, just a container holding the code.