Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/atapas/astronode

A custom blog UI powered by Headless Hashnode at the back and Astro in the front-end.
https://github.com/atapas/astronode

astro graphql hashnode hashnode-api hashnode-blog headless-hashnode tailwindcss

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# AstroNode Blog
The `AstroNode Blog` is a project to build a custom blog UI using [Headless Hashnode](https://hashnode.com/headless) and [Astro web framework](https://astro.build/).

## 🔥 See Demo
You can see the demo of the working app from here:

> [The AstroNode Blog Demo](https://astronodeblog.netlify.app/)

## 🏃 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/](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](https://git-lister.onrender.com/api/stars/atapas/astronode?limit=15)](https://github.com/atapas/astronode/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](https://github.com/sponsors/atapas).

## 🧱 Project Structure

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

```text
/
├── 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](https://api.netlify.com/api/v1/badges/7e352168-2323-4cfd-8edb-035a9d41a563/deploy-status)](https://app.netlify.com/sites/astronodeblog/deploys)