All Projects → apavamontri → nodejs-clean

apavamontri / nodejs-clean

Licence: other
Clean Architecture with Node.js + Express.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nodejs-clean

Clean Architecture Zh
《架构整洁之道》中文翻译
Stars: ✭ 299 (+119.85%)
Mutual labels:  clean, clean-architecture
riblet-sample
A sample to represent Uber Riblets design pattern using Swift.
Stars: ✭ 42 (-69.12%)
Mutual labels:  clean, clean-architecture
Axion Technologies Hnh
Hotter’n Hell Hundred is the largest one hundred mile cycling events in the United States and the world. Held in Wichita Falls, TX, this event brings thousands of registrants within the city limits, resulting in a spike in revenue throughout local businesses, restaurants, and hotels, and overall for the city of Wichita Falls. There are several sub-events within the Hotter’n Hell Hundred, such as different races, dining events, consumer shows and a medical symposium. The proposed Hotter’n Hell Hundred mobile application serves as the ultimate source of information for the events, enabling users to quickly register for events and explore local places. In addition, the mobile application allows users to navigate through race during the event, tracking their speed, nearby rest stops, alternate routes, and finish line, ensuring the best possible experience during their stay in Wichita Falls.
Stars: ✭ 155 (+13.97%)
Mutual labels:  expressjs, clean-architecture
Clean Mvvm Archcomponents
👽 Android app consuming Star Wars API.Built with clean architecture ,MVVM pattern, Koin , Coroutines + Flows ,Architecture Components, Data Binding , Firebase , Unit/UI Tests ,Motion Layout
Stars: ✭ 285 (+109.56%)
Mutual labels:  clean, clean-architecture
Clean Architecture Android
Sample to practice Clean Architecture in android applications.
Stars: ✭ 207 (+52.21%)
Mutual labels:  clean, clean-architecture
Cqrs Clean Eventual Consistency
CQRS, using Clean Architecture, multiple databases and Eventual Consistency
Stars: ✭ 247 (+81.62%)
Mutual labels:  clean, clean-architecture
CleanSwiftArchitectureGenerator
🔨 A generator of Clean Swift Architecture files
Stars: ✭ 56 (-58.82%)
Mutual labels:  clean, clean-architecture
mern-stack-application
A MERN stack e-commerce website.
Stars: ✭ 45 (-66.91%)
Mutual labels:  expressjs
firestore-store
express-session store for Firebase Cloud Firestore
Stars: ✭ 44 (-67.65%)
Mutual labels:  expressjs
Clean-Architecture-Template
Configurable Clean Architecture template containing the DDD + CQRS approach for .NET Core applications.
Stars: ✭ 14 (-89.71%)
Mutual labels:  clean-architecture
whatsApp clone
Flutter WhatsClone (with Firebase + Clean Architecture) this app follow clean architecture proposed by our friendly Uncle Bob.
Stars: ✭ 181 (+33.09%)
Mutual labels:  clean-architecture
docker-node-express-boilerplate
Boilerplate for quickly bootstrapping production-ready RESTful APIs / microservices
Stars: ✭ 113 (-16.91%)
Mutual labels:  expressjs
code-editor-react
A full stack web application for online programming, built with React and Express.
Stars: ✭ 27 (-80.15%)
Mutual labels:  expressjs
blog-front
Blog@NextJs
Stars: ✭ 65 (-52.21%)
Mutual labels:  expressjs
Android-Clean-Architecture
🚀A basic sample android application to understand Clean Architecture in a very simple way and is written in Kotlin.
Stars: ✭ 39 (-71.32%)
Mutual labels:  clean-architecture
express-mquery
Expose mongoose query API through HTTP request.
Stars: ✭ 37 (-72.79%)
Mutual labels:  expressjs
fptu-app
FUHCM Universal Web App based on Node.js & React
Stars: ✭ 17 (-87.5%)
Mutual labels:  expressjs
axe-api
The fastest way to create a simple Rest API, by defining database models and relations.
Stars: ✭ 61 (-55.15%)
Mutual labels:  expressjs
kmm
Rick & Morty Kotlin Multiplatform Mobile: Ktor, Sqldelight, Koin, Flow, MVI, SwiftUI, Compose
Stars: ✭ 52 (-61.76%)
Mutual labels:  clean-architecture
flickr-android
A small sample app to showcase architecting app using Clean Architecture and MVVM
Stars: ✭ 25 (-81.62%)
Mutual labels:  clean-architecture

Node.js + Express.js + Clean Architecture

This is the spike code to architect node.js, express.js using clean architecture.

Architecture Overview

This project's architecture is based on Uncle Bob's The Clean Architecture. Please at least skim through his blog as you will have a better understanding of how it works.

We are separated this application into 4 different layers

  1. Domains (highest)
  2. Use cases
  3. Interfaces
  4. Infrastructure (lowest)

The gist of it is a separation of concerns. Outer layer (lower) can reference (or know) the inner (highest) layer, however, the inner layers can not know about outer layer. We accomplished this by using Dependency Injection and Duck Typing since Javascript doesn't have the concept of Interface.

(highest)                                    (lowest, most detail implementation)
domains ---> user cases ---> interfaces ---> infrastructure

Run the server

$ npm install
$ NODE_ENV=development node server.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].