Janus allows you to setup a simple file server for local testing.
- Node.js 18
- Clone the project
- Create a
.env
file
- Add
SERVER_PORT={PORT}
- Add
BASE_PATH={PATH}
- Run
npm start
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.
Janus is intended for localhost testing ONLY. Do not use in a production environment.