Skip to content

codefellows/person-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Person Generator

A RESTful service that allows a client to request random "person" objects.

A person consists of:

  firstName: String
  lastName: String
  phone: String
  email: String

All values are random using the Faker string generation library.

Route Endpoints

/

  • Method: GET
  • Parameter :name
  • Returns: a person as a JSON object using the :name parameter as the firstName property.

/search

  • Method: GET
  • Parameter: :name
  • Returns: an array of persons as a JSON object using the :name parameter as all the firstName properties.

About

A RESTful service for generating Person objects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published