An open API service indexing awesome lists of open source software.

https://github.com/heaths/template-web-node

Template for static web content using Express for hosting locally
https://github.com/heaths/template-web-node

express gh-pages nodejs template template-repository

Last synced: about 2 months ago
JSON representation

Template for static web content using Express for hosting locally

Awesome Lists containing this project

README

          

# Static Web Template

This is a template for a simple [Node.js](https://nodejs.org) application serving static files to help teach my children web design and programming. You can use this in a repository named `.github.io` to host a static site using [GitHub Pages](https://help.github.com/github/working-with-github-pages/getting-started-with-github-pages).

## Setup

1. Create new repository from template, ideally named `.github.io`. You can also click .
2. Run `npm install` to install required modules.
3. In [Visual Studio Code](https://code.visualstudio.com), press `Ctrl+F5` to launch without debugging, or run `node server.js`.

You can modify *index.html*, and add new directories and files to serve static content without restarting the server.

## License

This project is licensed under the [MIT license](LICENSE.txt).