Skip to content

Latest commit

 

History

276 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Introduction

This is a demo project for education/training purposes of software development, Cloud Computing and DevOps.

Requirements

To build/test:

  • Execute ./build.sh or ./test.sh to start the compile of the source code and execute the unit tests.

To do code/libraries/package analysis:

  • Execute ./codeAnalysis.sh, ./librariesAnalysis.sh or ./packageAnalysis.sh to start the SAST checks.

To package/publish:

  • Execute ./package.sh or ./publish.sh to containerize the built application and publish it to the repository.

To run Locally:

  • Execute ./start.sh and then open the URL: http://localhost in the browser. Execute ./stop.sh to shutdown the application

To run in the Cloud:

  • Execute ./deploy.sh to start the provisioning of the resources. After it completes, open the URL: [http|https]://[frontend-host.frontend-domain] in the browser. Execute ./destroy.sh to deprovision the resources.

Checkout .github/workflows/*.yml to see the steps above defined in the pipelines.

Settings

build.json - Defines the build attributes (name and version). secrets.json - Defines the secrets used for the above scripts. Create yours using secrets.json.template.

Application Components

  • Frontend: It contains the UI of the application. It runs NGINX
  • Backend: It contains the backend with all business logic of the application. It runs Spring Boot
  • Database: It contains the database to store the application data. It runs MongoDB

All components are containerized. (Please check the files docker-compose.tf, Dockerfile and iac/*.tf for more details).

Important notes

It's not a good practice to commit any sensitive data in the repository so...

DON'T EXPOSE OR COMMIT ANY SENSITIVE DATA IN THE PROJECT.

Contact

LinkedIn:

e-Mail:

and that's all! Have fun!

About

This is a demo project for education/training purposes of software development, Cloud Computing and DevOps

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages