https://github.com/stuartleeks/vamp-music
a microservices demo kit
https://github.com/stuartleeks/vamp-music
Last synced: about 1 year ago
JSON representation
a microservices demo kit
- Host: GitHub
- URL: https://github.com/stuartleeks/vamp-music
- Owner: stuartleeks
- License: apache-2.0
- Created: 2017-08-22T14:26:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T08:37:52.000Z (almost 9 years ago)
- Last Synced: 2025-02-17T10:49:08.780Z (over 1 year ago)
- Language: JavaScript
- Size: 13.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vamp Music

Vamp Music is a set of demo services with a front end and api gateway.
It uses [Lerna](https://lernajs.io/) to manage all the packages in the repo and
docker-compose to spin up a local dev environment, similar to an eventual Vamp environment.
Requirements:
- Node.js
- Docker and Docker-Compose
- Lerna
## Install
```bash
npm install --global lerna
lerna bootstrap
lerna run docker:build
docker-compose up
```
Now hit `localhost:80`
## Architecture
Vamp Music is a simplified but representative example of a service based architecture.
1. Clients connect to an API gateway that authenticates and aggregates and proxies services.
2. Each service owns their datasource(s) and exposes REST and/or RPC type calls.
```
----------> Auth
|
Web-client (SPA) --> API Gateway --> Profile
--> Recommended --> Songs*
--> Songs
--> Activity --> Songs*, Profile*, Analytics*
--> Analytics
```