Skip to content

mariamadebolahamzat/HNG-Script

 
 

Repository files navigation

HNG-SCRIPT:

This script gets all the files in the scripts folder and runs exec on it.

Currently it supports Javascript, PHP, Python, Java, Dart programming languages alone

TO-RUN:

Clone Repo: https://github.com/elishaukpong/HNG-Script.git

Add your intern script to the /scripts folder following this format - [surname][name].[ext].

Example: ada-musa.js, ade_chika.py.

DON'T ADD YOUR SCRIPT TO THE ROOT DIRECTORY OF THIS PROJECT

run php -S localhost:8000 in the HNG-Script folder and visit the link in the browser.

NOTE:

Dart programmers must have dart install on the local machine for testing.

visit https://dart.dev/get-dart to install dart on your local machine.

RESULT:

This will show a list of all executed scripts and the status.

To get a JSON VERSION

Append /?json to the end of localhost:8000 will return a json version to your browser.

Example: localhost:8000/?json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.7%
  • PHP 19.3%
  • Python 19.0%
  • Dart 1.3%
  • Java 0.7%