This repository contains a collection of Spring boot micro-services and a frontend application made using Angular.
- Java 11
- Node JS
- Angular
- Maven
- Couchbase
-
Start the couchbase db and make a bucket named
products
. -
Create a primay index on your bucket by running this query in query screen : CREATE PRIMARY INDEX
product-idx
ONproducts
USING GSI; -
Start the Frontend application (Product Portal) using
npm install
and thenng serve --open
in root directory of the application. It will automatically open your default browser withlocalhost:4200
. -
Put your couchbase credentials in the
application.property/yml
file in the backend services. -
Start Product service using either command
mvn spring-boot:run
or using your favourite IDE. It will be running onport 8080
. -
Start other services using the same above steps.
-
Try to hit an endpoint
http://localhost:8080/api/productlist/v1/getlist
or use the Frontend UI to create, read, update and delete products.