Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deve-sh/serv
A simple way to spin up a static server for your files.
https://github.com/deve-sh/serv
Last synced: 5 days ago
JSON representation
A simple way to spin up a static server for your files.
- Host: GitHub
- URL: https://github.com/deve-sh/serv
- Owner: deve-sh
- Created: 2023-08-17T07:52:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-17T07:56:46.000Z (about 1 year ago)
- Last Synced: 2023-08-17T09:11:51.494Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serv
A simple way to spin up a static server for your files. Useful for testing out app-builds before you push them to the cloud.
### Usage
```bash
npx serv (directory)# Example
npx serv ./dist
# or without ./
npx serv build
```By default port `3000` is used, but if that port is not free a different port is assigned and logged. You can then access the static server from `localhost:` or `127.0.0.1:`.