This is a chat application built with Next.js, React.js, Clerk for authentication, ShadCN/UI, Tailwind CSS, dynamic routes, GetStream.io, and ngrok.
Before you begin, ensure you have met the following requirements:
Replace the placeholders for API keys in your code with your actual API keys.
STREAM_API_KEY
: Your GetStream.io API keySTREAM_API_SECRET
: Your GetStream.io API secretCLERK_API_KEY
: Your Clerk API keyTo run the application locally, follow these steps:
Start the Next.js development server:
npm run dev
Start ngrok for tunneling:
ngrok http 3000
Access your application at the provided ngrok URL.
To deploy the application, follow these steps:
Set up your environment variables in your hosting service:
STREAM_API_KEY
STREAM_API_SECRET
CLERK_API_KEY
Deploy the application using your preferred hosting service (Vercel, Netlify, etc.).
Contributions are welcome! Please follow these steps to contribute:
git checkout -b feature-branch
)git commit -m 'Add new feature'
)git push origin feature-branch
)This project is licensed under the MIT License.