Skip to content

codegenixdev/drizzle-nextjs-tutorial

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published