Skip to content
/ astronode Public template

A custom blog UI powered by Headless Hashnode at the back and Astro in the front-end.

License

Notifications You must be signed in to change notification settings

atapas/astronode

Repository files navigation

AstroNode Blog

The AstroNode Blog is a project to build a custom blog UI using Headless Hashnode and Astro web framework.

🔥 See Demo

You can see the demo of the working app from here:

The AstroNode Blog Demo

🏃 Run It Locally

You can fork the repository and run the application locally using the following steps:

  • Install dependencies using npm install / pnpm install / yarn command.
  • Start the development server with npm run dev / pnpm dev / yarn dev.
  • By default, the app will run on the http://localhost:4321/.

🍔 Tech Stack

  • Astro as a front-end web framework.
  • Tailwind CSS for styling.
  • Headless Hashnode as the CMS for Blogging.
  • GraphQL client.
  • Netlify for hosting (with automatic build & deployment).

🫶 Support

Liked it? You can show your support with a STAR(⭐).

Many Thanks to all the Stargazers who has supported this project with stars(⭐)

Thanks to all stargazers

Sponsor My Work

I am an independent educator who creates meaningful projects to teach programming. You can support me further by sponsoring me on GitHub.

🧱 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

🟢 Deployment Status

The app is deployed on Netlify.

Netlify Status

About

A custom blog UI powered by Headless Hashnode at the back and Astro in the front-end.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published