Skip to content

dmitriikol/Ranames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ranames

A simple tool to generate fake names.


Compiling and starting

Build using Maven.

  1. mvn package
  2. cd target
  3. java -jar Ranames-1.0-SNAPSHOT.jar
  4. localhost:8080/ranames

Basic usage

http://localhost:8080/ranames/api
---
{
"name": "Romane",
"surname": "Leriy",
"gender": "FEMALE",
"region": "FRANCE"
}

Parameters

Number of names to return:

http://localhost:8080/ranames/api?amount=10

Limit results to the male or female gender:

http://localhost:8080/ranames/api?amount=10&gender=female

Region-specific results:

http://localhost:8080/ranames/api?amount=10®ion=france

Region and gender specific results:

http://localhost:8080/ranames/api?amount=10®ion=france&gender=male

ranames-screenshot

About

A simple tool to generate names

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published