This repository contains the source code for nyblom.io.
This site is built using React, Next, Tailwind CSS and TypeScript. The site uses Nhost to store and show the current read count for each blog post.
The site is hosted on Vercel.
All Typescript lives in the src
folder, as this gives a cleaner overview of everything in the repo.
Blog post mdx files are placed under posts
.
Any page content that is not a blog post is placed under content
.
As per Nextjs documentation, the public
folder is kept in the root of the project.
Step 1: Clone repository
git clone [email protected]:Qw4z1/nyblom-io.git
Step 2: Install dependencies
yarn
Step 3: Add Nhost url
- Go to Nhost and signup
- Get your Nhost subdomain
- Create an
.env.local
file with your Nhost Url:
echo "https://[your subdomain here].nhost.run/v1/graphql" > .env.local
Step 4: Start development server
yarn dev