Linktree clone with user account system and authentication to display social links using NextJS, TailwindCSS, & Supabase.
I implemented this project in order to:
react-images-uploading
package.Install Tailwind CSS with Next.js
.
Create an account on Supabase
and create a project.
In .env.local
, set 'NEXT_PUBLIC_SUPABASE_URL' (project-settings>api>project-url) and 'NEXT_PUBLIC_SUPABASE_ANON_KEY' (project-settings>api>project-api-keys) with the corresponding values from your Supabase.
Run and install the Supabase JavaScript library:
npm install @supabase/supabase-js
Run and install the react package for uploading images:
npm install --save react-images-uploading
Create a new table in Supabase
.
Create a bucket called 'public1' in storage.
Create a new policy for the bucket under 'Other policies under storage.objects'.
your-component.js
find the following line:router.push("/jahnltib");
Replace with the username you sign up with.npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to test a live demo.
Sign up and check email for verification.
Log in, add links, and upload profile picture.
Log out to show public page.
This project is not currently open for contributions.
This project is licensed under the terms of the GNU General Public License v3.0.