Skip to content

Completed app for Vercel guide to Magic with Next.js

Notifications You must be signed in to change notification settings

b3nk3/vercel-magic-guide

 
 

Repository files navigation

Magic Auth with Next.js - Vercel Guide

This is the completed code for the Vercel guide "Add Auth to a Next.js Site with Magic.link" <-- link to be added.

Get Started

  1. Install dependencies.
npm install
# or
yarn install
  1. Rename .env.local.example to .env.local and add your Magic API keys.
mv .env.local.example .env.local
// .env.local

NEXT_PUBLIC_MAGIC_PUBLISHABLE_KEY = "YOUR MAGIC PUBLISHABLE KEY"
MAGIC_SECRET_KEY = "YOUR MAGIC SECRET KEY"
  1. Run the development server.
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 with your browser to see the result.

About

Completed app for Vercel guide to Magic with Next.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.2%
  • CSS 21.8%