stupid-static-server
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Static Server (node)

A simple server to serve static files

Installation

Download from npmjs.org

Set some .env vars:

SERVER_DOMAIN_NAME=localhost
SERVER_DOMAIN_SCHEMA=http
SERVER_NAME="Static Server"
LOGGER_LOG=1
LOGGER_DEBUG=1
APP_PORT=3000
npm i
tsc
npm start

Check the console output to see your server url, but with the settings above, it should be: http://localhost:3000

Verify that it works by checking that you can see the email.png at http://localhost:3000

Support

None

/stupid-static-server/

    Package Sidebar

    Install

    npm i stupid-static-server

    Weekly Downloads

    4

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    85.1 kB

    Total Files

    88

    Last publish

    Collaborators

    • guillermo_at