If you are not very familiar with the clean architecture, go find out ?… Just kidding, don`t worry, I don`t know that much too, we will never have a perfect architecture. This project (that will never be finished) can be found here, any thoughts on how to enhance the structure is VERY welcome (please!). The architecture tried (at least ?) to follow the Clean Architecture proposed by Uncle Bob. For this one, I used the Serverless framework with AWS Cloud Platform, Node.js, Typescript, DynamoDB, SQS and internationalization. It might be a good starting point for new serverless projects. I spent many hours on this structure, so, I think that, maybe, it could help someone. Serverless architecture is great because it can scale (sky’s the limit) and I’d pay only for its use, so, if it gets too many users, I`ll have to pay for that many users, but, that means the application is a success and than, as this is a non-profit project, I`m pretty sure I might get help from somewhere to pay for those future bills. Three years ago, I worked with a serverless architecture project and the Serverless framework, and yet, I found out that this is the best approach for this project. Of course technologies change a lot, too fast, and that’s the greater challenge! How can we keep ourselves updated on this second` changing world? Work overtime my friend, TANSTAAFL! :D This time, I wanted to build a self project to help on COVID-19, and so I started searching for new technologies and I found many great ones! I love working on project structures, so I always have some base code for each platform I use, such as, Android native app, Web development, server, etc. This.webpackConfig = _.map( this.Going Serverless with Node.js and Clean Architecture OverviewĮvery time I start a project I discuss a lot with my team or myself (when on a self project) to find the best technology, architecture, patterns, and everything. We have to make sure that for each entry there is an entry function item. Check if handler is a well-formed path based handler.Ĭonst handlerEntry = / (.*) \.*?$ /.exec(handler) Ĭonst files = glob.sync( ` $ $ `), ' ') Ĭonst entryFuncs = _.filter(allEntryFunctions, ) * build his own entries with help of the other exports. * For automatic entry detection we sort the found files to solve ambiguities. Const BbPromise = require( ' bluebird ') Ĭonst Configuration = require( '.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |