TLDR
Quick start example
Launch a pre-baked expressjs starter:
Product tour
Launching your own app
Go to the Link Your Own
tab on the deployment page. This will let you chose a repo from one of your public GitHub repos.
Here is what you need to know:
Cyclic supports nodejs apps that live in github repos
A
package.json
must exist at the root of the repoOn every deployment Cyclic will run
npm install
for production and will prune dev dependencies- Cyclic will also run
npm run build
if a build script has been defined in thepackage.json
- Cyclic will also run
The
package.json
should have ascripts
property with astart
command- Cyclic will run your apps by calling
npm run start
- Cyclic will run your apps by calling
The start command must start a server on a port
- Cyclic will discover the port automatically or you can configure it in environment variables
All apps are serverless
New deployments will be triggered automatically on code changes to the default branch of the repo
Next steps?
You can try one of our other starters listed on the starters page