This script gets all the files in the scripts folder and runs exec on it.
Javascript | PHP | Python | Java | Dart
Clone Repo:
https://github.com/elishaukpong/HNG-Script.git
Next
Add your intern script to the folder:
/scripts
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
Visit the link in the browser that look like:
http://127.0.0.1:8080/
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.
PHP must be of version 7.3 and above
This will show a list of all executed scripts and the status.
Demo Image
Add:
/?json
To the end of:
localhost:8000
Example: localhost:8000/?json
Demo Json