Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.68 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.68 KB

Find something to do when you are bored

explaining the project. ✅

get the email from the form. ✅

env variables | magic secret | signup to magic ✅

getting magic token from magic client ✅

login api call ✅

API ✅

token cookie ✅

user hook ✅

redirect to looggedin page ✅

logout ✅

profile page✅

##ENV

MAGIC_SECRET_KEY TOKEN_SECRET NEXT_PUBLIC_MAGIC_PUBLISHABLE_KEY.

It uses the new Just-in-Time Mode for Tailwind CSS.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-tailwindcss with-tailwindcss-app
# or
yarn create next-app --example with-tailwindcss with-tailwindcss-app

Deploy it to the cloud with Vercel (Documentation).