Skip to content

glaucia86/kitstarter-msgraph-nextjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kit Getting Started Project - Microsoft Graph

gif-01

A Kit Starter project using Microsoft Graph with Next.js

🚀 Resources Used

🔥 How to Run the Application Locally?

  1. First go to the folder: demo-01 -> authentication-app and run the command:
npm install
  1. Now create a file called: .env.local (in the root of the project) and include this information below:
AZURE_AD_CLIENT_ID=<copy Application (client) ID here>
AZURE_AD_CLIENT_SECRET=<copy generated client secret value here>
AZURE_AD_TENANT_ID=<copy the tenant id here>
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=

if you're Linux user and want to generate a NEXTAUTH_SECRET: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
  1. Now you can execute the command:
npm run dev
  1. Now you can access the application in the browser: http://localhost:3000

⭐️ Free Courses & Important Resources

❓ Questions? Comments?

If you have any questions about the code developed, feel free to open an ISSUE HERE. We'll get back to you soon!