This is a Realtime Messaging App built with NexJS, Convex and Clerk.
- Clone the repository
- Install the dependencies
npm install
- Create a
.env.local
file in the root of the project and add the following environment variables:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-publishable-key
CLERK_SECRET_KEY=your-clerk-secret-key
- Run the development server
npm run dev
- Open a new terminal window and run the Convex server
npx conex dev
- Open a browser and navigate to
http://localhost:3000
This project was built along side my first Medium post. Please have a read of How to Create a Realtime Messaging App with NextJS, Convex and Clerk