This is a full-stack Link Sharing Application built with React, TailwindCSS, and Appwrite, allowing users to create and share their personal links.
Live link: Link Sharing Application
- Frontend: React, TailwindCSS, React-Icons, Redux Toolkit
- Backend: Appwrite (for authentication, database, and file storage)
- State Management: Redux Toolkit
git clone https://github.com/mhistiak3/link-sharing-application.git
cd link-sharing-applicationnpm install
# or
yarn installA .env file is required to run the project locally. This includes Appwrite configuration details like the project ID, database, and API endpoints.
- Copy the
.env.examplefile to create your own.envfile:
cp .env.example .env- Update the
.envfile with your Appwrite credentials:
VITE_APPWRITE_URL=https://cloud.appwrite.io/v1
VITE_APPWRITE_PROJECT_ID=your_project_id_here
VITE_APPWRITE_DATABASE_ID=your_database_id_here
VITE_APPWRITE_PROFILE_ID=your_profile_collection_id_here
VITE_APPWRITE_LINKS_ID=your_links_collection_id_here
VITE_APPWRITE_STORAGE_ID=your_storage_bucket_id_here
- Create an account at Appwrite Cloud
- Create a new project
- Create a database with two collections:
- Profile Collection: Fields -
firstName(string),lastName(string),email(string),userId(string),profileImage(string) - Links Collection: Fields -
userId(string),links(string)
- Profile Collection: Fields -
- Create a storage bucket for profile images
- Update your
.envfile with the IDs from Appwrite
Once the environment variables are set, run the development server:
npm run devThis will start the React development server and the app will be available at http://localhost:5173.