A Linktree clone featuring a user account system and authentication to showcase social links using React, NextJS, TailwindCSS, & Supabase.
I developed this project with specific objectives in mind:
react-images-uploading
package.Set up Tailwind CSS with Next.js
.
Register on Supabase
and create a project.
In .env.local
, configure 'NEXT_PUBLIC_SUPABASE_URL' (project-settings>api>project-url) and 'NEXT_PUBLIC_SUPABASE_ANON_KEY' (project-settings>api>project-api-keys) with values from your Supabase.
Install the Supabase JavaScript library:
npm install @supabase/supabase-js
Create a new table in Supabase and name it "links"
Establish a policy for the bucket under 'Other policies under storage.objects'
Locate the line:
router.push("/celegarl");
Replace it with your signup username.
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Access http://localhost:3000 in your browser for a live demo.
Register and verify your email.
Log in, add links, and upload a profile picture.
Log out to showcase the public page.