Skip to content

WeyIin/mixam-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mixam Java Challenge

Goal was to create a small contact form with some front-end and back-end validation.

The form itself does nothing besides that, not saving or sending user input. Back-end validation happens after POST submit.

Included JUnit tests for Controller actions and form DTO validation.

Installation

Pull the repo locally and import it in your favourite IDE. I use STS.

Usually when starting Spring boot would install all the required dependancies for you but if that doesn't happen right click on the project -> run as -> maven install

Alternatively you can do it through the console

mvn install

if maven is not installed on the machine execute this instead at the root of the repository

mvnw install

Boot the server right clicking project -> run as -> spring boot app.

Going further

When app is booted visit localhost:8080/contact to see all the magic happen.

Testing

Executing tests can be done via IDE or Console again: project -> run as -> JUnit test or alternatively can be run in console:

mvn clean test

or if maven is not installed.

mvnw clean test

Versions

Spring Boot: 3.0.6

Java: 20

Technologies used

Spring Boot

Thymeleaf

Bootstrap

Notes

In order to execute commands in CMD, java will need to be added to home path. Applies to windows, mac and linux machines. Please see here on how to do this.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published