Coder Social home page Coder Social logo

yuraxdrumz / clean-architecture-example Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 4.0 16 KB

an example app using typescript + node + clean architecture

Home Page: https://yuriktech.com/2019/06/11/Implementing-Clean-Architecture/

TypeScript 100.00%
node-typescript-ava entities frameworks-drivers modular typescript nodejs clean-architecture

clean-architecture-example's People

Contributors

yuraxdrumz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

clean-architecture-example's Issues

Question reg integrating DB and Logging

I have a simple microservice that i thought i will implement using clean-architecture since it does seem quite useful and future-proof. As a primarily UI dev I am (relatively) a newbie in backend dev. I have been researching clean-architecture and came across your repo.

My question is how do i integrate a DB as well as a logging service if i a using this repo's methodologies?

At the moment the DB is Firebase - or actually i am targeting just a single collection since this is a microservice. Of course there is a possibility that this might change to an entirely different DB probably.

Logging is a cross-cutting concern and apparently should be added in as a plugin component. I might want to log locally (console maybe?) or maybe even call a separate logging-only microservice in order to consolidate the logs. I guess i might use sturdy logging packages like Winston possibly but i guess simple logging is just as fine.

Would you have any suggestions for best practices for this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.