Skip to content

anuragts/Hackernews-2.0

Repository files navigation

Getting Started

Installing

npm install 
# or
yarn install

Running the development server:

npm run dev
# or
yarn dev

Adding Environment Variables

 add Supabase Database url to .env file as 
 DATABASE_URL = "your Supabase Database url"                                                                                                       

Creating Prisma Schema

npx prisma generate
# or
yarn prisma generate

Viewing the generated schema:

npx prisma studio
# or
yarn prisma studio

Open http://localhost:3000 with your browser to see the result