-
Install is used to install all dependencies for a project.
$ yarn install
-
Create
.env
fileCreate an .env file referring to the .env.sample file format
MONGODB_URL=example MONGODB_NAME=example
-
Write interview data
Fill in the
datas
variable in theindex.js
fileconst datas = [ { 'question': 'please write question!!', 'keywords': ['keyword1', 'keyword2'], 'tags': ['tag1', 'tag2'], 'answer': 'please write answer!!' }, ];
-
Run program
$ yarn start
or
$ node index.js
This repository has been archived by the owner on Aug 16, 2020. It is now read-only.