Before we start, ensure you have the following installed:
- Node.js - Required for running Next.js
- Git - To clone the project repository
- VS Code - Recommended code editor
- PocketBase - Lightweight backend (Download & extract)
-
Click Fork → Copy your forked repo URL.
-
Go to GitHub Repository
-
Open a terminal and run:
git clone <your-forked-repo-url> cd chat-application npm install
Start the Next.js development server:
npm run dev
✅ Open http://localhost:3000/ to check if it’s running.
Open a terminal in the PocketBase (backend) folder and run:
./pocketbase serve
Open http://127.0.0.1:8090 in your browser.
In the PocketBase Admin Panel, go to Settings > Import Collection.
Upload the pb_schema.json
file from this repo.
Confirm the collections (users, messages, replies) are successfully imported.
Open http://localhost:3000.
Log in using your test account.
Send messages and see real-time updates! 🎉