Skill Swap is a social media platform designed to enable users to share and exchange skills seamlessly. With real-time chat, file-sharing capabilities, and a connection-based linking system, users can create meaningful interactions and collaborations.
- Skill Sharing: Showcase your expertise and discover others' skills.
- Real-Time Chat: Instant messaging with users.
- File Sharing: Easily share resources and files during conversations.
- Connections System: Establish connections with like-minded users to build your network.
- Next.js: Modern React framework for server-side rendering and static site generation.
- Prisma: ORM for interacting with the database.
- PostgreSQL: Reliable and scalable relational database.
- Neon: Serverless PostgreSQL hosting platform.
- Shadcn/ui: Component library for consistent and beautiful UI.
- Tailwind CSS: Utility-first CSS framework for styling.
Ensure you have the following installed:
- Node.js (v16 or later)
- npm or yarn
- PostgreSQL (local or hosted, compatible with Neon)
-
Clone the repository:
git clone https://github.com/your-username/skill-swap.git cd skill-swap
-
Install dependencies:
npm install # or yarn install
-
Configure environment variables: Create a
.env
file in the root directory and add the following:DATABASE_URL=postgresql://username:password@host:port/database NEXTAUTH_SECRET=your-secret NEXTAUTH_URL=http://localhost:3000
-
Set up the database:
npx prisma migrate dev --name init npx prisma generate
-
Start the development server:
npm run dev # or yarn dev
Access the application at http://localhost:3000
.
- Sign up or log in to the platform.
- Update your profile with your skills and interests.
- Browse or search for users based on skills.
- Initiate a chat to exchange knowledge or resources.
- Establish a connection for future collaboration.
- Connect the repository to your Vercel account.
- Add the environment variables from your
.env
file to the Vercel dashboard. - Deploy your application with one click.
For serverless database hosting, use Neon and connect it via the DATABASE_URL
in the .env
file.
We welcome contributions to enhance Skill Swap. To get started:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Add your message here"
- Push the branch:
git push origin feature/your-feature-name
- Open a pull request.
Skill Swap is licensed under the MIT License.
- The open-source community for providing tools and libraries.
- Contributors who helped build and maintain the project.
Enjoy sharing and learning new skills with Skill Swap!