All Templates / Starters

Astro

Astro

The basic Astro templateβ€Ž

Deploy Astro

Astro

brody192/astro-basic-template

Just deployed

Astro

This Project was created with - npm create astro@latest -- --template basics

To get more help on the Astro CLI use go check out the Astro CLI Overview and Command Reference page.

πŸš€ Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
β”œβ”€β”€ public/
β”‚   └── favicon.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── Layout.astro
β”‚   └── pages/
β”‚       └── index.astro
└── package.json

To learn more about the folder structure of an Astro project, refer to their guide on project structure.

🧞 Commands

All commands are run from the root of the project, from a terminal:

CommandAction
npm installInstalls dependencies
npm run devStarts local dev server at localhost:4321
npm run buildBuild your production site to ./dist/
npm run previewPreview your build locally, before deploying
npm run astro ...Run CLI commands like astro add, astro check
npm run astro -- --helpGet help using the Astro CLI

πŸ‘€ Want to learn more?

Feel free to check our documentation or jump into our Discord server.


Template Content

Deploy Now

Details

Brody

Created on Sep 12, 2023

156 total projects

46 active projects

92% success on recent deploys

Astro, JavaScript

Starters



More templates in this category

View Template
.NET8 Web API

.NET8 Web API

A basic ASP.NET Core Web API template (.NET 8)


Dango

View Template
Django Monolith

Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.


Odogwu Machalla

View Template
Django Container - Starter Boilerplate

Django Container - Starter Boilerplate

Django and Dockerfile Boilerplate optimized for Railway Deployments


Justin Mitchel