A modern Next.js application for social media management and automation.
Swoopin is a powerful platform built with Next.js that helps users manage their social media presence, automate interactions, and analyze performance. The application integrates with various social media platforms and provides a comprehensive dashboard for managing digital presence.
- 🔐 Secure authentication with Clerk
- 💳 Stripe integration for subscription management
- 🤖 AI-powered automation capabilities
- 📊 Analytics dashboard
- 🔄 Social media platform integrations
- 📱 Responsive design with modern UI
- 🎨 Tailwind CSS styling
- Framework: Next.js 14
- Authentication: Clerk
- Database: Prisma
- Styling: Tailwind CSS
- Payment Processing: Stripe
- State Management: Redux
- API Integration: React Query
- Node.js 18+
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/yourusername/swoopin.git
cd swoopin
- Install dependencies:
npm install
# or
yarn install
- Set up environment variables:
Create a
.env
file in the root directory and add the following variables:
NEXT_PUBLIC_HOST_URL=your_host_url
STRIPE_SUBSCRIPTION_PRICE_ID=your_stripe_price_id
# Add other required environment variables
- Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
src/
├── actions/ # Server actions
├── app/ # App router pages
├── components/ # Reusable components
├── constants/ # Constants and configurations
├── hooks/ # Custom React hooks
├── icons/ # SVG icons
├── lib/ # Utility functions
├── providers/ # Context providers
├── redux/ # Redux store and slices
└── types/ # TypeScript types
The application uses Next.js API routes located in src/app/api/
. Key endpoints include:
/api/payment
- Handles Stripe payment sessions/api/webhook
- Processes webhooks from integrated services
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request
Copyright (c) 2024 Swoopin. All Rights Reserved.
This software and associated documentation files (the "Software") are proprietary and confidential. The Software is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties.
No part of this Software may be reproduced, modified, displayed, stored in a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording or otherwise), without the prior written permission of Swoopin.
Unauthorized copying, modification, distribution, public display, or use of this Software for any purpose is strictly prohibited and may result in severe civil and criminal penalties.