Skip to content

The following project consists of a word unscrambler application

Notifications You must be signed in to change notification settings

aaronrebak/word-unscrambler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Unscramble API

This API manages unscrambling words into a wordsquare.

GIVEN a number (int) of n
AND characters (string) of length nxn
WHEN sent to the Word Unscramble API
THEN a response should be returned containing a wordsquare of nxn words

Coding Style

IntelliJ is used as the default IDE.
Google Code Style is used as the default Coding Style.

Building

Artifact - Jar

$ ./gradlew clean api:build

Artifact - Container

Jib is used for container builds.

Building to your local docker daemon
./gradle api:jibDockerBuild --image=<IMAGE_NAME>:<TAG>

Building without a docker daemon
./gradle api:jib --image=<IMAGE_NAME>:<TAG>

Running

By default, this is a console application.
You can also toggle it into a web application by including the following in spring.profiles.include:

  • as-web

Endpoints

Openapi is used to help describe and document this RESTful APIs.
You can visit the Swagger-UI generated documentation (while the application is running) to see information by suffixing the relevant host below with /documentation/word-unscramble-api/ui:

Local

http://localhost:8080

Core Testing Libraries

Use JUnit5 Jupiter, BDD AssertJ , BDD Mockito, in combination with Spring Test where possible.

About

The following project consists of a word unscrambler application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages