Service-Based Application Design
"The secret to building large apps is never build large apps. Break your applications into small pieces. Then, assemble those testable, bite-sized pieces into your big application" - Justin Meyer, author JavaScriptMVC
Index
Learning Objectives
- Build architecture
- Service-based design
Specifications
- convert the last project into a MCL note-taking service
- This service allows users to take notes in a json file
- Everything must be exported through index.js - for easy use
- Users can ...
- add key-value (title, content) pairs to a json file
- read a single not
- read all notes
- update a note
- remove a note
- view all possible commands & the arguments they take
- get a meaningful message or error after each command executed
- initialize a new notes file in a new directory
- reinitialize notes.json
- delete the notes file
- challenge: modify your service to allow users to read and write nested objects
Resources
Articles and the like:
- Service Oriented Architecture - wikipedia
- Service Oriented Architecture - YouTube
- Micro-Services, not so simple
- General Resources
- How to
- Microservce vs Monolith
- Monlith First - Start with a good modular app, break it into services as needed
- Microservices - Please Don't
- Apptweak - looking to hire, and uses Dockers microservices
- Docker.js
Previews of Coming Attractions: