/echojournal

Discover the codebase for Echo Journal, a user-friendly platform for creating and sharing compelling blog content. With a modern stack including NextJs, Tailwind, and Sanity, this repository provides the foundation for a seamless blogging experience. Join us in simplifying online content creation and fostering meaningful connections.

Primary LanguageTypeScript

📖 Echo Journal

Echo Journal is a simple blog app built with Next.js, Tailwind CSS, and Sanity CMS.

🪂 Features

  • Next.js: Utilizes the power of Next.js for server-side rendering, routing, and more.
  • Tailwind CSS: Uses Tailwind CSS for rapid UI development with utility-first CSS.
  • Sanity CMS: Content management system for managing blog posts and content.

⚖️ Setup

Prerequisites

  • Node.js (>=20.x)
  • pnpm

Installation

  1. Clone the repository:
git clone https://github.com/K-stiles/echojournal.git
cd echojournale
  1. Install dependencies:
pnpm install
  1. Set up Sanity CMS:

  2. Set up environment variables:

    Create a .env.local file in the root directory of the project and add the following:

    SANITY_PROJECT_ID=your_project_id
    SANITY_DATASET=your_dataset_name
    

    Replace your_project_id and your_dataset_name with your actual Sanity project ID and dataset name.

🧑🏽‍🚒 Development

Run the development server:

pnpm run dev
# or
npm run dev

Open http://localhost:3000 to view the app in your browser.

🚀 Deployment

Deploy your Next.js app using your preferred hosting platform. Make sure to set up environment variables for production as well.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT