Fast and lightweight personal blog built with Astro and TailwindCSS hosted on AWS using S3 and CloudFront.
Production site is available at blog.petar-cv.com.
Light ☀️ and dark 🌙 mode are supported by default.
Any static assets, like images, can be placed in the public/
directory.
All blog posts are stored in src/content/blog
directory in markdown format.
Main Framework - Astro
Type Checking - TypeScript
Styling - TailwindCSS
Deployment - AWS
Code Formatting - Prettier
Linting - ESLint
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 prettier:check |
Check code format with Prettier |
npm run prettier:write |
Format codes with Prettier |
Licensed under the BSD 3-Clause License, Copyright © 2023
Made with ❤️ by Petar Cvetko Voćanec and contributors.