A secured server based on HTTPS over local machine
npm install avityam
$ npm install -g avityam
`$3
`
$ avityam -h
Avityam webserver (Version 1.0)
Copyright (c) 2019 Abhishek Kumar.
Licensed under the MIT License.Options:
-h, --help display help information
-u, --host[=127.0.0.1] set host IP or server address
-p, --port[=8080] set custom port number
-d, --docpath set document directory's path
-k, --key set SSL key's path
-c, --cert set SSL certificate's path
`#### Examples
To specifiy custom host IP and port
`bash
$ avityam -u=192.168.0.1 -p=9000
`
To specifiy custom host IP, port and docpath
`bash
$ avityam -d=/Users/abhishekkumar/webapp/ -u=192.168.0.1 -p=9000
`
To specifiy custom docpath and SSL certificate with key
`bash
$ avityam \
-d=/Users/abhishekkumar/webapp/ \
-k=/Users/abhishekkumar/mkcert/rootCA-key.pem \
-c=/Users/abhishekkumar/mkcert/rootCA.pem
`$3
Clone the repository at your system
`
$ git clone https://github.com/isurfer21/Avityam.git
`
##### Note
If you are developing the app, then instead of using avityam, use node avityam.js in the above examples over command-line app or terminal.$3
Publish the latest build on npm
`
$ npm login
$ npm publish
``