Introduction
This guide covers deploying Fastify applications on Shard Cloud. Fastify is a high-performance web framework for Node.js.Creating Your Project
Ensure you have Node.js and npm installed. Download from nodejs.org.Installing Fastify
Basic Fastify Application
Create anindex.js file:
index.js
Package.json Configuration
package.json
Shard Cloud Configuration
Create a.shardcloud file:
.shardcloud
Deploying
Upload to Shard Cloud
Go to Shard Cloud Dashboard and
upload your project.
Additional Resources
Visit the official Fastify documentation for more information.Troubleshooting
Connection refused errors
Connection refused errors
Ensure you’re binding to
0.0.0.0 instead of localhost or 127.0.0.1.Application crashes on startup
Application crashes on startup
Check your logs in the dashboard for detailed error messages.
