Skip to content
/ Janus Public

🚪 Create a mock server on localhost for testing. Super lightweight and easy to use.

License

Notifications You must be signed in to change notification settings

dscalzi/Janus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Janus

Janus allows you to setup a simple file server for local testing.

Requirements

  • Node.js 18

Usage

  1. Clone the project
  2. Create a .env file
  • Add SERVER_PORT={PORT}
  • Add BASE_PATH={PATH}
  1. Run npm start

Example

Your file server is located at C:/MockFileServer. There is one file at that location, LibraryFile.jar

SERVER_PORT=8080
BASE_PATH=C:/MockFileServer

Navigate to localhost:8080/LibraryFile.jar to download that file.

Notes

Janus is intended for localhost testing ONLY. Do not use in a production environment.

About

🚪 Create a mock server on localhost for testing. Super lightweight and easy to use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published