"#Tap-And-Eat-MicroServices"
Note: Documentation is not yet complete. All micro services will be documented.
- java 8 - maven 3.0 - docker engine - docker compose
apt-get install maven
http://tipsonubuntu.com/2016/07/31/install-oracle-java-8-9-ubuntu-16-04-linux-mint-18/
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-16-04
1. $ git clone https://github.com/jferrater/Tap-And-Eat-MicroServices.git 2. $ cd Tap-And-Eat-MicroServices 3. $ mvn clean install or mvn package -Dmaven.test.skip=true --> if you want to skip the unit test 4. $ cd docker 5. $ docker-compose up *Note: This consumes resources and your VM may hang up sometimes. Wait for the docker to complete processing. I am using Ubuntu 16.04 VM with 4Gb RAM. 6. Open Firefox and check discovered microservices at http://localhost:8888
This is a microservice architecture project for a restaurant or stores. Microservices are discovered automatically by a discovery service. Configurations are also centralized.
- ConfigService
- DiscoveryService
- AccountService
- PriceService
- CustomerService
- StoreService
- ItemService
- FoodTrayService
The ConfigService provides centralized configuration.
Discovers micro services.
The AccountService provides API for managing accounts. It has the CRUD API in /accounts endpoint.
The PriceService provides API for managing prices. It has the CRUD api at /prices endpoint.
The StoreService provides API for managing stores.
The CustomerService provides API for managing customers.