Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 1.73 KB

README.md

File metadata and controls

74 lines (51 loc) · 1.73 KB

Drizzle Nextjs Tutorial

Overview

This project is for my full drizzle course tutorial on my youtube channel @codegenix.This is a multi author blog website. It utilizes Next.js, typescript, drizzle orm and postgres. Follow the instructions below to set up the project and get it running locally.

Getting Started

Prerequisites

Installation

Option 1: Cloning the Frontend Branch

If you want to follow the tutorial:

  1. Clone the frontend branch of the repository:
    git clone -b frontend https://github.com/codegenixdev/drizzle-nextjs-tutorial.git
  2. Navigate to the project directory:
    cd drizzle-nextjs-tutorial

Option 2: Cloning the Master Branch

If you want to set up the full project:

  1. Clone the repository:
    git clone https://github.com/codegenixdev/drizzle-nextjs-tutorial.git
  2. Navigate to the project directory:
    cd drizzle-nextjs-tutorial

Setting up the environment variables:

cp .env.sample .env

Setting Up the Database

  1. Use Docker Compose to set up the PostgreSQL server:
    docker-compose up

Installing Dependencies

  1. Install the necessary Node.js packages:
    npm install

Running the Project

  1. Start the development server:
    npm run dev

Accessing the Project

For any questions or feedback, check my youtube channel youtube.com/@codegenix.