yashs33244 / find-it-here

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🛠️ Installation

Get up and running with these simple steps:

  1. Clone the repository

    git clone <repository-url>
    cd find-it-here
    
  2. Install pnpm globally

    npm install -g pnpm
  3. Install dependencies

    pnpm install
  4. Set up environment variables

    cp apps/docs/.env.example apps/docs/.env
    cp packages/db/.env.example packages/db/.env
  5. Start PostgreSQL with Docker Ensure Docker is installed, then run:

    docker run -d \
    -e POSTGRES_USER=postgres \
    -e POSTGRES_PASSWORD=mysecretpassword \
    -e POSTGRES_DB=find-it-here \
    -p 5432:5432 \
    --name find-it-here-db \
    postgres
  6. Generate Prisma Client and run migrations

    cd packages/db
    pnpm prisma generate
    pnpm prisma migrate dev
  7. Start the development server

    cd ../..
    pnpm dev
    

About

License:MIT License


Languages

Language:TypeScript 96.1%Language:JavaScript 2.3%Language:CSS 1.6%