Skip to content

sbalbinot/clean-ts-api

Repository files navigation

Build Status Coverage Status

Clean Node API

This is a Survey API built to show how to create a decoupled and well-defined architecture, using TDD (Test Driven Development) as work methodology, Clean Architecture for tiering distribution of responsibilities, always following SOLID principles and, whenever possible, applying Desing Patterns to solve common problems. It is based on Rodrigo Manguinho's course at Udemy.

APIs:

  1. Signup
  2. Login
  3. Add survey
  4. Answer survey
  5. Survey result

Principles applied:

  • Single Responsibility Principle (SRP)
  • Open Closed Principle (OCP)
  • Liskov Substitution Principle (LSP)
  • Interface Segregation Principle (ISP)
  • Dependency Inversion Principle (DIP)
  • Don't Repeat Yourself (DRY)
  • Composition Over Inheritance
  • Small commits

Design Patterns applied:

  • Factory
  • Adapter
  • Composite
  • Decorator
  • Dependency Injection
  • Abstract Server
  • Composition Root

Methodologies/designs used:

  • TDD
  • Clean Architecture
  • DDD
  • Conventional Commits
  • GitFlow

About

A Survey API based on several Clean Architecture and TDD concepts.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages