Randomuser.me-Node

Source code that powers randomuser.me

  • 所有者: RandomAPI/Randomuser.me-Node
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Randomuser.me-Node

Build Status
codecov

About

This is the source code that powers the randomuser.me User Generator.

Our goal is to have a very diverse database that consists of data unique to different nationalities.
While some places might have an SSN or their phone number might be formatted a certain way, other places usually follow a completely different set of rules.

Help us make the Random User Generator better by contributing to our database and teaching us the proper way of formatting data for different nationalities.

Guidelines

If you would like to help contribute data specific to a region, please keep these few rules in mind:

  1. Only add new nat data to the api/.nextRelease directory...

  2. Please keep all of the data organized.

    • Keep US data in the US directory, AU in the AU directory, etc.
  3. No duplicates. Make sure that the data you are adding isn't already on the list.

    • An easy way to remove duplicates from your file and sort:
sort -u <file> -o <file>

4. Please don't submit requests that say "make this nationality". We will accept helpful contributions, but not orders :)

Requirements

Node v9.0.0+
MongoDB

How to use

  1. Run npm install

  2. Run npm run build to build views and minify js/css

  3. Run npm test and verify all tests pass

  4. Start the server with npm start

What if I want to add a new nationality?

Go ahead! We will gladly accept new regions if they follow the guidelines above.
Just place your files in a new directory in the api/.nextRelease/data folder with the appropriate 2 letter ISO Country Code (http://countrycode.org). Follow the format of the US folder for reference.

How to contact us

If you have any questions, feel free to ask us on our Twitter page @randomapi.

主要指標

概覽
名稱與所有者RandomAPI/Randomuser.me-Node
主編程語言JavaScript
編程語言JavaScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2016-02-11 20:43:41
推送於2024-03-08 20:14:24
最后一次提交2022-07-04 23:43:18
發布數4
最新版本名稱v1.4 (發布於 )
第一版名稱v1.1 (發布於 )
用户参与
星數1.4k
關注者數33
派生數283
提交數296
已啟用問題?
問題數117
打開的問題數23
拉請求數77
打開的拉請求數13
關閉的拉請求數25
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?