Skip to content

Simple project to implement Java design patterns to a Programming Language class

License

Notifications You must be signed in to change notification settings

LBeghini/Java-Design-Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

☕ Java Design Patterns

About

This application is a simple Java Console Application that aims to implement design pattern examples to a Programmin Language Class. A set of design patterns will be developed each week, and they are divided in different branches.

The main branch is just a template for every other branch.

Also, to make it easier to download the source code, releases are created related to the task of the week, giving a snapshot of the code for that specific implementation.

Implemented design patterns

Behavioural patterns

Creational patterns

Structural patterns

Technologies

  • Java
  • JUnit
  • Maven

Requirements

To run and edit the project, be sure to have installed in your computer the following softwares:

  • A code editor

After that, you'll need to clone this repo:

git clone https://github.com/LBeghini/Java-Design-Patterns.git

Change branch

To change to a different branch, run the command:

git checkout name-of-the-branch

The branch names have the pattern:

{number-of-the-week}-{pattern-name}

number-of-the-week corresponds to the week asked to be implemented certain pattern

Testing

This project has no aim to run any of the implemented classes, as the goal is the code itself. However, the classes will be tested to visualize the behaviour and implementation of the patterns.

You can run the tests using the maven wrapper:

./mvnw test 

⚖️ License

MIT License