Skip to content

BartekSmalec/supportportal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI codecov Spotless

Support Portal

Simple app for managing user accounts. Login by JWT token. More screens of application in screenshot folder. Here’s link to frontend repo. Demo on ec2 instance:

Technology stack

Backend:

Technology Description
Spring Boot Framework for building Java applications
Spring Boot Starter Data JPA Library for connecting to and interacting with databases
Lombok Library for reducing boilerplate code in Java classes
Java JWT Library for working with JSON Web Tokens
Springfox Library for generating Swagger documentation
Flyway Library for managing database schema migrations
PostgreSQL Relational database
Testcontainers Library for managing Docker containers in integration tests
Maven Build automation tool

Frontend:

Technology Description
Angular CLI Command-line interface for Angular development
Node JavaScript runtime
NPM Package manager for Node
Bootstrap Front-end framework for building responsive web designs

Continuous Integration/Continuous Deployment (CI/CD) Pipeline

This repository uses CircleCI to automatically build, test, and deploy code changes.

Pipeline Overview

The pipeline consists of two jobs that are executed sequentially in a workflow:

  1. build-and-test:
  2. deploy-to-ec2:

Job Details

Build and Test Job

This job is responsible for building and testing the application. It uses Maven to build the application, runs Spotless check, and uploads the build artifacts to Codecov.

Deploy to EC2 Job

This job deploys the application to an EC2 instance using SSH and built jar file. It requires the artifacts from the Build and Test job and runs the application on the EC2 instance.

Workflow

CircleCI

The workflow consists of two jobs that are executed sequentially:

  1. build-and-test: runs on all branches.
  2. deploy-to-ec2: runs only on the main branch after the Build and Test job completes successfully.

Configuration

The pipeline is configured using the latest version (2.1) of the CircleCI pipeline process engine. The pipeline configuration is stored in the .circleci/config.yml file in the repository.

Screenshots:

alt text alt text

About

User managing system secured with JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published