Skip to content

Dictionary REST-API (Java, SpringBoot and H2) - Detects "bad" words using Levenshtein Distance Algorithm

Notifications You must be signed in to change notification settings

tomiok/dictionary-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary API

The project is build on spring-boot 2.0

Compile

./mvnw clean package

Run

./mvnw spring-boot:run

Dictionary and User APIs:

GET - Verify userName

Request

http://localhost:8080/verify?userName=tommy

Response - 200 OK

{
 "username": "tomiok",
 "status": "SAVED"
}

POST - Add Restricted Word to Dictionary

Request

http://localhost:8080/dictionary?word=abuse

Response - 200 OK

{
    "word": "abuse",
    "status": SAVED
}

About

Dictionary REST-API (Java, SpringBoot and H2) - Detects "bad" words using Levenshtein Distance Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages