Skip to content

TalAter/REPLogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REPLogin

REPLing across devices

### A REPL written with React demonstrating user login

A read–eval–print loop (REPL), also known as an interactive toplevel or language shell, is a simple, interactive computer programming environment that takes single user inputs, evaluates them, and returns the result to the user. Common examples include command line shells... -- read–eval–print loop - Wikipedia

Getting started with REPLogin

  • Clone the project: $ git clone git@github.com:TalAter/REPLogin.git
  • Change to REPLogin directory: cd REPLogin
  • Install dependencies: $ npm install
  • Run REPLogin's server: $ npm start
  • Point your browser to http://localhost:8765/
  • Play around with some commands (the password for sudo is: 12345)

Some commands to try

  • help - Shows a list of available commands
  • ls - List directory contents
  • cat passwords - Attempt to display the contents of the passwords file
  • sudo cat passwords - Login as a super user and display contents of passwords file (the password for sudo is: 12345)

tl;dr;

Too busy to download the project and try it yourself? Here is a video of it in action.