LBRY Block Explorer

LBRY Claims • creating-a-web-server-in-nodejs-in-a

a394e63144437a72b970840f61d11ef537edef61

Published By
Anonymous
Created On
24 Mar 2021 21:19:27 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
Creating a web server in NodeJS in a single line of code with zero-dependencies with WebWebWeb!
Did you know you can run your own web server in just a single line of code?<br />And add APIs, CORS, and support HTTPS with SSL certificates just as easily too. WebWebWeb is a SUPER simple and light-weight, zero-dependency module that I built to use for just about all of my open-source web projects because setting up ExpressJS was still more complex than I'd like and wanted to make my GitHub projects as beginner-friendly and clean to learn from.<br /><br />In this video, I show how fast and easily you can use WebWebWeb to start a web server through JavaScript. You can use it to build and host websites and APIs, or what I like to do is use it to iterate on static webpages locally until it's ready to publish on GitHub pages.<br /><br />Check out WebWebWeb on GitHub: <a href="https://github.com/instafluff/WebWebWeb" target="_blank" rel="nofollow">https://github.com/instafluff/WebWebWeb</a><br /><br />As well as WebWebWebs which automatically gets and renew SSL certificates on top through Let's Encrypt: <a href="https://github.com/instafluff/WebWebWebs" target="_blank" rel="nofollow">https://github.com/instafluff/WebWebWebs</a><br /><br />How to use:<br />Just install with `npm install webwebweb` and then run this line of code `require( "webwebweb" ).Run( 8099 )` and place your files into /web or /public and it will be served automagically like <a href="http://locahost" target="_blank" rel="nofollow">http://locahost</a>:8099/web or <a href="http://localhost" target="_blank" rel="nofollow">http://localhost</a>:8099/public<br /><br />Like what I do? The best way to support my open-source projects is by becoming a Comfy Sponsor on GitHub! <a href="https://github.com/sponsors/instafluff" target="_blank" rel="nofollow">https://github.com/sponsors/instafluff</a><br /><br />Come hang out with Instafluff at the Comfiest Corner LIVE every Wed/Thu/Fri on Twitch: <a href="https://twitch.tv/instafluff" target="_blank" rel="nofollow">https://twitch.tv/instafluff</a><br /><br />Follow all the Comfy Tweets: <a href="https://twitter.com/instafluffTV" target="_blank" rel="nofollow">https://twitter.com/instafluffTV</a><br />...<br /><a href="https://www.youtube.com/watch?v=nWLv90jXnm4" target="_blank" rel="nofollow">https://www.youtube.com/watch?v=nWLv90jXnm4</a>
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY