Socket

About This Space

This workspace deploys a custom server


Last updated on September 9, 2021

Forked from: /KerimG/websockets/

Public Permissions:   View   Open/Fork   Run   Comment  

Custom Server Template

This template uses a custom Node.js server rather than the built-in Express server used by NodeRun.

When configuring a custom server, find the main server file, select Properties, and mark the checkboxes labeled App Start File and Custom Server.

custom-server

To be accessible via NodeRun, your custom application server must listen on port 8081, which you can access dynamically by using process.env.PORT.

With custom servers, when you make changes to your server-side code, you must restart the application server. You can do this from the Server menu in the IDE.

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

More Spaces By obustos (@obustos)

Filters:

Popular Recent

This app consumes a web service and display the information in a grid

2660

0

0

A demo of how to build and consume Web Services with and without parameters

2768

0

0

Couchbase demo with pjs

2048

0

0

Conf atl

2439

0

0

Hello World

1527

0

0

This lab walks you through building a series of Node.js applications that work with employee data.

3248

0

0

A Hello World app with both dynamic output and input fields. Also illustrates the basics of animation.

3092

0

0

holamundo

1565

0

0

Low Code Sample, Customer info

2605

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

2546

0

0

Test App Modernized - UI

1527

0

0

This interactive app prompts the user for key fields to lookup a database record and displays the results

2675

0

0