π¨JavaScript
Learn how to host your JavaScript bot on the DisCloud
Last updated
Learn how to host your JavaScript bot on the DisCloud
Last updated
You should not send all your application files to .zip
, there are some exceptions, they are:
πCreate the package.json
Have trouble finding your main file? Click here
Doubts about creating your
package.json
file? Click here
Select only the necessary files as mentioned above and create your .zip
For more details on how to Compress your Files according to your Operating System, you can see below:
How to compress my files?This feature needs some basic requirements to be able to be used, please check the requirements here before continuing
Using Express
Express is a widely used framework for building Web sites and APIs.
By default Express is configured to listen to port 3000
, you need to configure it to listen to port 8080
, look for the following line usually found in your main file.