No description
Find a file
2025-03-15 20:04:35 -06:00
.forgejo/workflows Add missing displayUsername column 2025-03-15 20:04:35 -06:00
.vscode General fixes 2025-02-20 20:02:44 -06:00
messages Implement album page 2025-02-18 20:21:37 -06:00
prisma Add missing displayUsername column 2025-03-15 20:04:35 -06:00
project.inlang Set up Paraglide for localization 2024-08-22 17:46:21 -06:00
public Implement album page 2025-02-18 20:21:37 -06:00
src Update create.ts 2025-03-14 14:04:22 -06:00
.gitignore Filter locale 2025-02-18 23:02:06 -06:00
astro.config.mjs Disable CORS 2025-03-10 11:16:50 -06:00
eslint.config.js Login/Logout/Forgor flows 2025-02-10 23:09:11 -06:00
package.json Create Album endpoint 2025-03-08 22:24:22 -06:00
prettier.config.cjs Cleanup dev environment 2024-11-13 22:45:30 -06:00
README.md First commit 2024-08-07 20:19:30 -06:00
tsconfig.json Create Album endpoint 2025-03-08 22:24:22 -06:00
yarn.lock Create Album endpoint 2025-03-08 22:24:22 -06:00

Astro Starter Kit: Minimal

npm create astro@latest -- --template minimal

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

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

🚀 Project Structure

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

/
├── public/
├── src/
│   └── 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:4321
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.