Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 2.07 KB

README.md

File metadata and controls

74 lines (50 loc) · 2.07 KB

Peoples Place Cafe App

This is the Peoples Place Cafe API. It provides the backend REST APIs for the users to add/remove product types, products, users and update cart. It is a Spring Boot application which using NoSQL MongoDB Atlas instance.

Requirements

Open API Specification

http://ec2-18-169-2-189.eu-west-2.compute.amazonaws.com:7575/swagger-ui.html

image

Postman Collection

https://www.getpostman.com/collections/1c929838c08d21f7c267

Basic Architecture

image

EC2 Instance

http://ec2-18-169-2-189.eu-west-2.compute.amazonaws.com:7575/product/

image

Analytics using MongoDB Graphs

https://charts.mongodb.com/charts-project-0-jfmyt/public/dashboards/10e78fd9-f8d0-4d8b-a0d5-f7bed339a9d0

image

SonarQube Instance

http://localhost:9000/projects?sort=name

GitHub

https://github.com/sjanagill/peoplesplace-cafe

Installation

Use the maven command line interface Maven to install the dependencies

mvn install -DSkipTests

Test

Use the maven command line interface Maven to perform unit test

mvn test

Docker build

docker build --rm -f "Dockerfile" -t pp-cafe:latest "."

Docker run

docker run -f "Dockerfile" -it -p7575:7575 pp-cafe:latest

AWS deploy (Steps in deploy.sh)

./deploy.sh