alexshive / quickserver

Quick locally hosted server and helpful extras

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick Server

It's backend for the front end.

Installation

Clone this repo and in the console install with:

npm i

Usage

npm start

Now you can visit http://localhost:3865 to view the local site

Development

Included is an example of how to use it, add/edit as needed.

  • style.scss transforms to style.css
  • index.html is your simple basic html file
  • server.js is your express server

Add the following code in your pages to autoreload them:

<script src="http://localhost:35729/livereload.js?snipver=1"></script>

(You can change the port number in package.json)

About

Quick locally hosted server and helpful extras


Languages

Language:HTML 51.5%Language:CSS 42.7%Language:JavaScript 5.8%