How to use in production - NodeJS
See original GitHub issueThis may be an overall question and not slingshot specific, but how would one run this in production with a node server?
It is simple enough to run within IIS with the dist
as a directory, but it seems like trying to run/deploy as node js server it would need to have a second package.json to and scripts for the server side.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How To Set Up a Node.js Application for Production on ...
First, create and open your Node.js application for editing. For this tutorial, we will use nano to edit a sample application called hello.js...
Read more >Express Tutorial Part 7: Deploying to production
Set node version. The package.json contains everything Railway needs to work out your application dependencies and what file should be launched ...
Read more >How to Deploy a Node.js App – From Server Setup to Production
In this tutorial, we are going to learn everything we need to know before deploying a Node app to a production server.
Read more >How Do You Start a Node.js Server in Production?
To start an application in the background, you simply append & at the end of the command. Using the example from earlier, node...
Read more >Operating Node.js in Production - RisingStack Engineering
We have already discussed how you can deploy your Node.jsXNode.js is an asynchronous event-driven JavaScript runtime and is the most ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The resulting app written to /dist is just static files, so any host will do. No server-side needed. That’s a feature.
If you want to host it via Node, then an extremely simple express setup would do the trick. Here’s an example.
Great to hear! 😃