Please enable JavaScript.
Coggle requires JavaScript to display documents.
Application Frameworks (REST services and ExpressJS (RESTful Service…
Application Frameworks
Principles
SOLID
Single responsibility
Open-close
Liscov substitution
Interface segregation
Dependency inversion
KISS
DRY
YAGNI
DRITW
Practices
Unit Testing
Code Quality
Code review
Version controlling
Continuous Integration
REST services and ExpressJS
RESTful Service
Representational State Transfer
Resource based
Identified by URI
Multiple URI -> same resource
Client-Servcer communication
JSON/XML data
Lightweight, Scalable,Maintainable
Features
Uniform interface
Stateless
Cacheable
Client Server
Layered System
Code on Demand
HTTP Messages
HTTP Verbs
GET
POST
PUT
DELETE
OPTIONS
HEAD
Compliance with REST constraint
Scalability
Simplicity
Modifiabiility
Visibility
Portability
Reliability
Best Practices
Nouns over Verbs
Do not user GET to alter state
Use of plural nouns
Represent subresources
HTTP Status codes for errors
Use of links to other resources where needed
Use of filtering, pagination, sorting, field selection via query parameters
Version the API
ExpressJS
NodeJS web application framework
Designed for web apps and APIs
Minimal features -> max via plugins
Robust routing
High performance
Test coverage
Extensible
Reusable