Skip to content

PLMohamed/next-drizzle-template

Repository files navigation

Next js - drizzle - mysql - tailwind css:

this repo is my starter to full stack applications with all those libraries,

Usage :

  npx create-next-app@latest app_name -e https://github.com/PLMohamed/next-drizzle-template

Or

  git clone https://github.com/PLMohamed/next-drizzle-template .

env

Make sure to change what necessary in the .env file (I'm using api versioning)

  DB_HOST = "localhost"
  DB_NAME = "your_database"
  DB_USER = "your_user"
  DB_PASSWORD = "your_password"
  
  # NEXT PUBLIC
  NEXT_PUBLIC_API_VERSION = "v1"

docker-compose :

if you want to also install the database with docker-compose, make sure credentials of db match .env

    docker-compose up -d