Skip to content

a coding interview command line interface application made using node.js

Notifications You must be signed in to change notification settings

rolandyangg/interview-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interview-cli

Node.js Command Line Interface Application for giving coding interviews to people locally on their computers eliminating the issue of server side compilation and grading, reducing times drastically

Installation

Make a clone of the git repository

git clone https://github.com/whyroland/interview-cli.git

cd into the cloned repository on your computer

You may use your command line of choice

You must be CD'd into the repository else you will be unable to grade your code

Make sure your Enviornment Variables and Paths are correctly setup else the program will crash when you try to run test cases

Use npm and install the following packages

npm install inquirer
npm install inquirer-loop
npm install firebase
npm install nodemailer

After that run

npm install -g

to install the program and be able to use the commands below

Usage

To generate a code to begin your interview use

interview-admin

The password is by default set to "password" but this can be changed inside of bin/admin.js

Be sure to save the code it gives you, only other way to see it is through my firebase account :) will work on making the process more accessible in the future

adminpanel1

viewsessions

sendinterview

To do the interview use

interview

This will prompt you with a setup to enter the code you were given before, do that and you will have full access to the interview

prompt1

testspassed1

email

In order to submit your code, choose the file format you want to write your solution in and write it in the answers folder under the corresponding language file you want to write it in

Known Bugs

  • Invalid inputs will crash the program (see future plans)
  • C and C++ need to be fixed (I have to figure out how to get the paths on my PC setup)
  • Sometimes the Firestore will not update fast enough so the final email report will be missing some test cases in the performance section

Future Plans

  • Clean up this hot mess of code O_O
  • Add more features to the admin panel
  • Hide credentials for security reasons
  • Go through the inquiries and validate the inputs
  • Make it look prettier with chalk

About

a coding interview command line interface application made using node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages