This Template is a starting point for creating a Node.js project on the shuttle.dev. It is a simple discord bot template that can be used to create a discord bot using the discord.js library, or any other Node.js project.
Example of a bot running on shuttle.rs:

shuttle init --from arnav-kr/node-shuttle
rename Secrets.example.toml to Secrets.toml and put your environment variables there. Those will be deployed to the shuttle.dev project.
npm run deploy
The template comes with a GitHub Actions workflow that deploys the project to shuttle.dev on every push to the main branch.
[!IMPORTANT] To enable the workflow, you need to add the
SHUTTLE_TOKENandSHUTTLE_PROJECT_IDto the repository secrets.
use general node workflow for development.
Copy the following files to your project:
Shuttle.toml (rename names according to your project, include any additions assets here)Cargo.toml (rename names according to your project)src/main.rsshuttle_run.shshuttle_setup_container.sh.gitignoreSecrets.example.toml (rename to Secrets.toml and add your environment variables).github/workflows/deploy.yml (if you want to deploy via GitHub Actions)deploy the project using npm run deploy
This project is licensed under the AGPL 3.0 License - see the LICENSE file for details