A microservices-demo service that provides shopping carts for users.
This build is built, tested and released by travis.
Checkout the API Spec here
Platform : Ubuntu 16.04
Setup Mongo DB
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongod start
Validate mongodb
cat /var/log/mongodb/mongod.log
Setup Carts App
apt-get install -yq openjdk-8-jre-headless openjdk-8-jdk-headless
sudo apt-get install maven -yq
cd carts/
mvn compile
mvn test
mvn -DskipTests package
Run Carts App
mvn spring-boot:run
or
ls target/
java -jar target/carts.jar
mvn -DskipTests package
GROUP=weaveworksdemos COMMIT=test ./scripts/build.sh
./test/test.sh < python testing file >
. For example: ./test/test.sh unit.py
mvn spring-boot:run
curl http://localhost:8081/health
curl http://localhost:8081
GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.