Skip to content

kinsta/hello-world-astro-ssr

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Astro

Kinsta - Hello World - SSR Site With Astro 🚀

An example of how to deploy an SSR site built with Astro on Kinsta App Hosting services.


Kinsta is a developer-centric cloud host / PaaS. We’re striving to make it easier for you to share your web projects with your users. Focus on coding and building, and we’ll take care of deployment and provide fast, scalable hosting. + 24/7 expert-only support.

Dependency Management

Kinsta automatically installs dependencies defined in your package.json file, during the deployment process.

Web Server Setup

Port

Kinsta automatically sets the PORT environment variable. You should not define it yourself and you should not hard-code it into the application.

Start Command

When deploying an application, Kinsta automatically creates a web process with npm start as the entry point. Make sure to use this command to run your server.

Deployment Lifecycle

Whenever a deployment is initiated (through creating an application or re-deploying due to an incoming commit) the npm build command is run, followed by the npm start command.

What is Astro

Astro is a static site framework focusing on content-rich websites to deliver faster load times with less JavaScript. More information is available on the astro.build website.

About

An example of how to set your Astro application up to enable deployment on Kinsta App Hosting services.

Topics

Resources

License

Stars

Watchers

Forks

Languages