Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geodoo/ports-and-adapters
Ports and Adapters architecture example
https://github.com/geodoo/ports-and-adapters
Last synced: 1 day ago
JSON representation
Ports and Adapters architecture example
- Host: GitHub
- URL: https://github.com/geodoo/ports-and-adapters
- Owner: GeoDoo
- Created: 2019-10-12T20:25:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T15:29:46.000Z (almost 4 years ago)
- Last Synced: 2024-05-16T01:11:14.838Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 560 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/GeoDoo/ports-and-adapters.svg?branch=master)](https://travis-ci.org/GeoDoo/ports-and-adapters)
### This is a small experiment with Ports and Adapters architecture!
There are two different "modes" or users of the application. One is, for example a normal user that uses the application on production with real access to an API (production with `axios`) and the other, for example is a test user who uses a static application (locally with static data).
Try running `npm start` and `npm run build:production`. The first will open up the app in port 3000 and the second in port 5000. These ports of course are not the Ports from the architecture :smile:
## Useful links
1. https://web.archive.org/web/20180822100852/http://alistair.cockburn.us/Hexagonal+architecture
2. https://softwarecampament.wordpress.com/portsadapters/
3. http://www.dossier-andreas.net/software_architecture/ports_and_adapters.html