A modern and minimalist blog application built with vision for customizablity and scalablity.
- View real time live blog posts
- Search for posts by tag
- dark/light theme
- more features can be added or customized
- Frontend: Next.js for SEO and better performance
- Styling: Tailwind CSS for easier styling
- Backend CMS: Sanity as a CMS service
- State Management: Zustand for state managment
- Typescript: for type validation
To get started, follow these steps:
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository
git clone https://github.com/kaleb110/blog-app.git cd blog-nextjs-sanity
-
Install Dependancies
npm install
-
Configure environment variables
Create a .env.local file in the root directory of your project and add the following variables:
SANITY_PROJECT_ID=your-sanity-project-id SANITY_API_TOKEN=your-sanity-api-token
-
Run the development server
npm run dev
The app will be available at http://localhost:3000.