Async web server written in Node.JS. Examples are in "www" folder.
- Async file serving
- Using .njs files for dynamic pages
- Templates!
- GET/POST Support
- HTTPS support
- More failsafes!
None
-
Install Node.JS
-
Clone the repo.
3-a) Put files in www/
3-b) Change port (Optional)
-
node webserver.js
-
Navigate to http://localhost:port/
-
Done!
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/.