-
Clone the repository:
git clone [repository URL] cd course-hub-frontend
-
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env
file in the root directory and add the necessary environment variables e.g...
NEXTAUTH_URL=http://localhost:3000/sign-in
NEXTAUTH_SECRET=anyName
GITHUB_ID=idNumber
GITHUB_SECRET=SecretKey
To start the development server, run:
npm run dev
Access the website at http://localhost:3000
.