/FileServe

Simple Node server for testing locally.

Primary LanguageJavaScriptMIT LicenseMIT

File Serve

Dead simple server using express for locally hosting, serving, and testing in a browser without needing to upload to an external service. Powered by Express.

Running Locally

Make sure you have Node installed. Create a "hosted" folder in the root directory and ensure you have an index.html file directly inside it. You may specify a different name for these if you wish by editing app.js. Additional files and subfolders within this folder will be served automatically. To start, navigate to the project directory and run

npm install
npm start

This will start the server listening for connections. To access files, go to localhost:3000 in the web browser of your choice.

License

FileServe is under the MIT License. Details can be found in the repo.