Astro-commerce
An ecommerce template designed for small businesses. While the current template features an audio device store, its structure is versatile and can be adapted to showcase various product types.
🚀 Project Structure
The project adheres to the atomic design methodology, promoting modularity and reusability.
Key directories and files:
├── public/
│ ├── assets/ # All images used.
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── atoms
│ │ ├── molecules
│ │ ├── organisms
│ ├── design-system/
│ ├── layouts/
│ ├── pages/
│ └── utils/
└── package.json
🧞 Commands
All commands are executed from the project root in the terminal:
Command | Action |
---|---|
npm install | Installs project dependencies |
npm run dev | Starts the local development server |
npm run build | Builds the production-ready site |
npm run preview | Locally previews the production build |
npm run astro ... | Executes Astro CLI commands |
npm run astro -- --help | Displays help information for the Astro CLI |