Skip to content
This repository has been archived by the owner on Aug 16, 2020. It is now read-only.

Latest commit

 

History

History
41 lines (31 loc) · 720 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 720 Bytes

Usage

  1. Install is used to install all dependencies for a project.

    $ yarn install
  2. Create .env file

    Create an .env file referring to the .env.sample file format

    MONGODB_URL=example
    MONGODB_NAME=example
    
  3. Write interview data

    Fill in the datas variable in the index.js file

    const datas = [
        {
            'question': 'please write question!!',
            'keywords': ['keyword1', 'keyword2'],
            'tags': ['tag1', 'tag2'],
            'answer': 'please write answer!!'
        },
    ];
  4. Run program

    $ yarn start

    or

    $ node index.js