Facebook

Hosting react and nodejs on same server using multiple domain

It is very common for developer to have react app supported by nodejs API for backend. In some cases developer may use API developed in php or any other programming knowledge. When it comes to deployment, programmer may face difficulty in deploying both on same server. As one can only host single application to single […]

Self Hosting using Nancy

Code: static class Program { /// /// The main entry point for the application. /// static NancyHost host; public class SampleModule : Nancy.NancyModule { public SampleModule() : base(“/Sample”) { Get(“/”, _ => “Hello World!”); } } public class MainModule : Nancy.NancyModule { public MainModule() : base(“/”) { Get(“/”, _ => { return “Hello Base!”; }); […]