This server generates random registry with italian names, with GDPR Prospect purpouse in mind.
- generates new registry prospect
- name, surname, address, province, sex - not mandatory
- physical person or company (persona giuridica)
- GDPR contacts (address, phone, email)
- several Privacy consents
- last update, last state update
- cold and warm prospect
- generates italian fancy names, simple or composite
- data are compliant with prospect state
Node v6 or greater.
Download and install dependencies
npm i
or yarn install
Start the application
npm start
or yarn start
Try to call the new API via browser or Postman
http://localhost:3000/prospect/:randomId
The following is an example of a random data generated by the API
{ "idProspect": { "id": 2, "name": "COMPANY" }, "name": "Piero Maria", "surname": "Benso", "gender": "M", "province": "Bari", "lastStateChange": "2012-11-28T19:39:58.889Z", "lastUpdate": "2015-07-01T22:57:33.130Z", "consent": { "generic": false, "marketing": false, "marketingThirdPart": false, "thirdPart": false }, "address": "lungomare Barletta Andria Trani 34 - Bari", "email": "suwuqohu@levissima.eu", "phone": null }