Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

DuckyMomo20012/student-dashboard-nextjs

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, install dependencies:

yarn

If you have error: "node" is incompatible... Then add flag: --ignore-engines. E.g: yarn add --ignore-engines PACKAGE_NAME

Then, generate Prisma client

npx prisma generate

Go to .env file to edit connection string

NOTE: Ensure you have enable TCP/IP protocol (Guide), or you can use other connection string

DATABASE_URL="sqlserver://localhost:1433;database=DATABASE;username=USER;password=PASSWORD;trustServerCertificate=true;"

Run server:

Run the development server:

yarn dev