Code Monkey home page Code Monkey logo

secretsanta-generator-1's Introduction

Secret Santa Generator Application ๐ŸŽ…

A secret santa generator web application built using Spring Boot technologies, Thymeleaf views, JPA, H2 Database, and more. The project features Spring Model, View, and Controller (MVC) architecture and Service and Repository layers.

This project is based on the popular Christmas game Secret Santa where friends draw names from a hat to decide who they are required to give a present to. This project allows users to add names, and the project randomly generates secret santa matches (it isn't as simple as creating random pairs). There are different solutions to the "Secret Santa problem" as the problem essentially creates a directed graph.

Preview images ๐Ÿ”ป

Some images of the application
  • Welcome Page

Welcome

  • Add People

Add

  • Generate "Matches"

Matches

Running the application locally

Secret Santa Generator is a Spring Boot application built using Maven. You can build a jar file and run it from the command line:

git clone https://github.com/NotTheBest/secretsanta-generator.git
cd secretsanta-generator
./mvnw package
java -jar target/*.jar

You can then access the application here: http://localhost:8080/

Welcome

Or you can run it from Maven directly using the Spring Boot Maven plugin.

./mvnw spring-boot:run

Database Configuration

This project uses an in-memory database (H2). If you would like to work on the project, enable the http://localhost:8080/h2-console via the property :

spring.h2.console.enabled=true

in application.properties.

The database url used is jdbc:h2:mem:testdb.

About

This project was a personal project to learn more about Spring development, database management, and industry application architecture.

A small summary of the skills showcased during this project: ๐Ÿ”ป

  • Java Spring Core, HTML5, CSS and similar topics
  • Spring MVC Controller and View management & annotations
  • Spring Boot capabilities, annotations, usage, and deployment
  • Thymeleaf technology, syntax, usage, capabilities, more
  • Client/Server data transfer
  • JPA annotations and repository management
  • H2 in-memory database management
  • Software/web application development processes
  • MVC architecture along with DAO, model, service layers, and similar
  • Accessibility, web design
  • Web application debugging
  • Where Santa lives
  • More! :)

secretsanta-generator-1's People

Contributors

jaiswaladi246 avatar scotran 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.