Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asier-ortiz/astro-course-demo
Astro tutorial
https://github.com/asier-ortiz/astro-course-demo
astro
Last synced: 27 days ago
JSON representation
Astro tutorial
- Host: GitHub
- URL: https://github.com/asier-ortiz/astro-course-demo
- Owner: asier-ortiz
- License: mit
- Created: 2024-07-12T07:46:16.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T22:40:07.000Z (5 months ago)
- Last Synced: 2024-11-29T11:44:24.912Z (about 1 month ago)
- Topics: astro
- Language: Astro
- Homepage:
- Size: 35.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Astro Course Demo
This repository contains the source code from a tutorial project designed to teach you how to use Astro. Course available at [https://learn.jamesqquick.com/](https://learn.jamesqquick.com/).
## About the Project
This tutorial project is divided into several sections that cover different aspects of developing with Astro, including:
- **Introduction to Astro**: Basics and core concepts.
- **Project Structure**: Organizing files and folders in an Astro project.
- **Astro Components**: Creating and using components.
- **Styling with Tailwind CSS**: Integrating and using Tailwind CSS in Astro.
- **Routing and Navigation**: Setting up routes and navigation in an Astro application.
- **Deployment**: How to deploy a website built with Astro.## Getting Started
To get started with the project, you can use the following commands:
### Commands
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:3000` |
| `npm run build` | Builds your production site to `./dist/` |
| `npm run preview` | Previews 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 |## Deployment
The site can be deployed using services like [Netlify](https://www.netlify.com/) or [Vercel](https://vercel.com/). Ensure that your production build is optimized and that the necessary environment variables are set up in your deployment provider's dashboard.
## Screenshots