Skip to content

joe-shajan/issue-notify

Repository files navigation

Development

setup

  1. Fork and clone this repo

    git clone https://github.com/<your-username>/issue-notify.git
  2. Go to the project folder

    cd issue-notify
  3. Install packages with npm

    npm install
  4. Set up your .env file

    • Duplicate .env.example to .env
    • Use openssl rand -base64 32 to generate a key and add it under NEXTAUTH_SECRET in the .env file.
  5. Start the app

    Note: before starting the app make sure that your docker is running

    npm run dev
  6. If installing for the first time

    In new terminal

    npx prisma db push

To view database

npx prisma studio

after updating prisma schema

  1. npx prisma migrate dev --name added_refreshtoken
  2. npx prisma generate