Giter VIP home page Giter VIP logo

springboot-webapp's Introduction

CSYE6225-Cloud Computing Test

Web application built with Spring Boot

Assignment 5 Test

Created 4 endpoints - GET All uploaded documents of the user - POST upload a documnet for that user - GET document by ID for that user - DELETE document by ID for that user

Created a CICD pipeline

  • Created a github action workflow that will run and create AMI on every push request
  • AWS Credentials are set in githib secrets

Packer file - AMI Creation

  • AMI Creation is done using a packer file
  • ami.pkr.hcl -> For AMI creation
  • ami.pkrvars.hcl is a parameter file used as input for ami.pkr.hcl, so change this file for parameterization
  • provision files: 1. setup.sh will create a work a envirnoment on AMI 2. java snapshot that will be created during build 3. startup.sh file, that will be triggered on every instance boot-up/reboot

Build Instructions

  • Clone this repository into the local system
  • Open the CLI
  • mvn clean install
  • java -jar jar file

Run the test

  • mvn test

Kill the process on a port

  • kill $(lsof -t -i:8080)

Assignment 2

  • Create 3 API's, Authenticated GET information by ID, PUT - update information by ID
  • Create Public GET

Testing Workflow

Assignment 1

  • Created a organization called 'meghanshucloud' and made a repo called webapp
  • Forked the webapp from organization into my personal workspace
  • Created a branch called 'Assignment_!' and pushed my Java SpringBoot application
  • Created an endpoint called healthz on port 3000
  • Endpoint - 'http://localhost:3000/healthz'


Name NEU ID Email Address
Meghanshu Bhatt 002961585 [email protected]

springboot-webapp's People

Contributors

meghanshubhatt09 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.