Custom Server

Alex (@alex)

40015

0

0

About This Space

This workspace deploys a custom server


Last updated on July 12, 2019

Public Permissions:   View   Open/Fork   Run   Comment  

Custom Server

This space 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 Alex (@alex)

Filters:

Popular Recent

Leet Translator

45383

0

2

Custom waitlist system with multiple locations/resources

45006

0

4

44923

2

2

The Customer Lookup App shows integration between Rich Displays and React.js

44807

0

3

This space shows you how to run multiple queries simultaneously by using Promise.all().

44567

0

1

Basic setup for a Hello World React.js App

44340

0

2

Vue.js using Rich Display Components built in the Visual Designer

43147

0

2

Daily Goal Tracker... Dream Big! Set Goals! Take Action!

42609

1

5

42487

0

1

This is a full database maintenance CRUD application with view, change, add, and delete capabilities

42184

1

1

Demo app to use EJS to display information from a database

41958

0

0