webify.js v0.1.1
Webify.js
Getting Started
To get started, make sure you have Node.js and NPM installed. When you install Node.js, NPM (Node's free package manager) comes included for free. Now install Webify.js (HTTP) from npm.
npm install webify.js --save
Next, create a JS file with this in it:
const App = require('../index.js')
const Webify = new App(80, 20, function(){
console.log("test")
})
const server = Webify.createServer()
server.on('GET', function(req, res){
console.log("Yay! Someone visited my site!")
})
Run the JS file in Node.js and your server should be located at localhost
! You can then use portforwarding to make your server public or deploy this on a remote server that is capbile of running Node.js applications (ie. Heroku)
Documentation
Need help? Look at our work in progress developer guides here.
Contributing
Read the CONTRIBUTING.md file for information on how to contribute to the project.
Authors
RecyclingBin (Bryce Daly) is the original author - GitHub
Want to become a contributor? Start by reading the Contribution Guidelines!
Licence
The official licence for this Webify.js repo is the MIT licence unless otherwise stated. (View LICENCE for details)