RShadowhand / NJSWeb

Webserver written in Node.JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NJSWeb

Async web server written in Node.JS. Examples are in "www" folder.

Features:

  • Async file serving
  • Using .njs files for dynamic pages
  • Templates!
  • GET/POST Support

To do:

  • HTTPS support
  • More failsafes!

Requirements:

None

How to run

  1. Install Node.JS

  2. Clone the repo.

3-a) Put files in www/

3-b) Change port (Optional)

  1. node webserver.js

  2. Navigate to http://localhost:port/

  3. Done!

License

NJSWeb - Node.JS Webserver with JS backend and template support

Copyright (C) 2016 - Author: Shadowhand

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Webserver written in Node.JS

License:GNU General Public License v3.0


Languages

Language:JavaScript 80.2%Language:HTML 19.8%