Next.js TypeScript, ShadCN UI, and Strapi to provide a responsive, interactive, and secure experience.
- Personalized Link Management: Add, update, or delete links to social profiles, portfolios, or other resources.
- Customizable Profile: Build a branded profile page with your picture, name, and selected links, allowing others to view your portfolio or connect with you on multiple platforms.
- QR Code Integration: Automatically generates a unique QR code for each user profile, making it easy to share and scan to access links on mobile devices.
- Real-Time Updates: Real-time link previews allow users to instantly see how their links will appear on their profile page.
- Responsive Design: Optimized for desktop, tablet, and mobile viewing.
- Drag-and-Drop Reordering: Easily organize links in a preferred order.
- Authentication and Security: User authentication to ensure secure access to profiles and personal data.
- Next.js: For server-rendered React pages and optimized web performance.
- TypeScript: Ensures type safety and improves code readability.
- ShadCN UI: For a modern, responsive UI library to provide seamless user experience and maintainable styling.
- Strapi: A headless CMS that manages link and profile data, offering a straightforward interface for CRUD operations.
- QRCode Generator: Generates a QR code for each profile, allowing users to easily share their profiles offline.
- Node.js and npm
- Strapi CMS setup (you can refer to Strapi documentation for installation)
- Clone the repository:
git clone https://github.com/your-username/devlinks
- Navigate to the frontend folder and install dependencies:
cd frontend npm install
- Create a
.env.local
file in the root folder and add the following environment variables:NEXT_PUBLIC_API_URL=your_strapi_api_url
- Start the development server:
npm run dev
- Navigate to the backend folder and install dependencies:
cd backend npm install
- Set up environment variables for Strapi (usually in a
.env
file):DATABASE_HOST=your_database_host DATABASE_PORT=your_database_port DATABASE_NAME=your_database_name
- Start the Strapi server:
npm run develop
Ensure the QR code generation module is correctly integrated within the frontend.
- Create a Profile: Sign up or log in to access your profile page.
- Customize Links: Use the "Add New Link" button to add, update, or delete links.
- Organize Links: Drag and drop links to reorder them as desired.
- Preview and Share: Click on the "Preview" button to view your public profile. Use the "Share Link" button or scan the QR code to access the profile on different devices.
- Next.js Documentation: https://nextjs.org/docs
- Strapi Documentation: https://strapi.io/documentation
- TypeScript: https://www.typescriptlang.org/docs/
- ShadCN UI: https://shadcn.dev
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is licensed under the MIT License - see the LICENSE file for details.