A Flutter realtime chat app using pocketbase
- Login, Signup, Signout
- Remember auth state
- Create Room for chatting
- Realtime chat updates
- Send Text, Image, Voice messages using pocketbase database and storage
- Reply to a message
Run pocketbase from pocketbase/pocketbase
folder , its macos executable (you can download for your system from here)
Run pocketbase using ip_address of your device like : ./pocketbase serve --http "IP_ADDRESS:8090"
Make sure to update your ip_address in lib/app/services/pocketbase_service.dart
as well
Import pocketbase/pocket_db_export.json
to pocketbase>settings>importCollections
, this will add few required tables in pocketbase
That's it, run this project, create rooms and chat with friends
![](https://private-user-images.githubusercontent.com/59526499/241213245-2740fc9f-066e-48fd-a4eb-739c0f36823b.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzMjYxNzMsIm5iZiI6MTcyMzMyNTg3MywicGF0aCI6Ii81OTUyNjQ5OS8yNDEyMTMyNDUtMjc0MGZjOWYtMDY2ZS00OGZkLWE0ZWItNzM5YzBmMzY4MjNiLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEwVDIxMzc1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4NzFjYTQ1NjM2YWUzNDBmZmE3Y2UwNTkwNjY2ZjJiMTA3ODYzMDJlMGQzM2I2NDZkZmZlNTY2OTQxZmMyZWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xi1jfQkytdN9HxAlMl_e7eIE6GrFx8ASTfx1-2W687M)
![](https://private-user-images.githubusercontent.com/59526499/241213238-8d300b92-3245-434d-b9d9-de5206be2534.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzMjYxNzMsIm5iZiI6MTcyMzMyNTg3MywicGF0aCI6Ii81OTUyNjQ5OS8yNDEyMTMyMzgtOGQzMDBiOTItMzI0NS00MzRkLWI5ZDktZGU1MjA2YmUyNTM0LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEwVDIxMzc1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwMGFhZTFjNzUyNTZhMzk1MzdkOTAzMTFiODlkMjlkNDlmMzI5ZjIzNDJmMWEyMWMxNWM3ZDEzODM2ZDBlMjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.O_F3HVvdvRWqLS6wrQwwYRJQ0RIYRsQEeK5ZKhEGDO0)
![](https://private-user-images.githubusercontent.com/59526499/241213237-33fa3265-a3de-4332-ade6-dfa94dbc59b2.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzMjYxNzMsIm5iZiI6MTcyMzMyNTg3MywicGF0aCI6Ii81OTUyNjQ5OS8yNDEyMTMyMzctMzNmYTMyNjUtYTNkZS00MzMyLWFkZTYtZG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