my cat consulting website
  • Astro 94.7%
  • TypeScript 3.2%
  • JavaScript 2.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-10-26 15:31:57 +02:00
.vscode refactor: move astro to root folder 2024-02-28 01:06:57 +02:00
public feat: add friendly cats lecture 2024-06-18 00:55:13 +03:00
src fix: add captcha to main page 2025-10-26 15:31:57 +02:00
.editorconfig refactor: move astro to root folder 2024-02-28 01:06:57 +02:00
.gitignore feat: add turnstile captcha 2025-10-20 21:49:17 +03:00
.prettierrc chore: formatting 2024-06-18 02:42:17 +03:00
astro.config.mjs build: fixes 2024-02-28 01:52:15 +02:00
package.json chore: update deps 2024-06-18 00:59:48 +03:00
pnpm-lock.yaml chore: update deps 2024-06-18 00:59:48 +03:00
README.md refactor: move astro to root folder 2024-02-28 01:06:57 +02:00
tailwind.config.cjs feat: download summary url 2024-06-27 17:11:18 +03:00
tsconfig.json refactor: move astro to root folder 2024-02-28 01:06:57 +02:00

Astro Starter Kit: Basics

npm create astro@latest -- --template basics

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

just-the-basics

🚀 Project Structure

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

/
├── public/
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── Card.astro
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

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

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

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